Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
function assertions.assertStringIncludes
import { assertions } from "https://deno.land/x/html_parser@v0.1.3/src/deps.ts";
const { assertStringIncludes } = assertions;

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

Parameters

actual: string
expected: string
optional
msg: string