Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/hooks/test/dependencies.ts>assertStringIncludes

Async middleware for JavaScript and TypeScript
Latest
function assertStringIncludes
import { assertStringIncludes } from "https://deno.land/x/hooks@v0.9.0/test/dependencies.ts";

Make an assertion that actual includes expected. If not then throw.

Parameters

actual: string
expected: string
optional
msg: string