Module

std/testing/asserts.ts

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

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

Parameters

actual: string
expected: string
optional
msg: string