std/testing/asserts.ts

Deno standard library
Go to Latest
function assertStringIncludes
import { assertStringIncludes } from "https://deno.land/std@0.102.0/testing/asserts.ts?s=assertStringIncludes";

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

Parameters

actual: string[src]
expected: string[src]
optional
msg: string
[src]