Skip to main content
Latest
function asserts.assertStringIncludes
import { asserts } from "https://deno.land/x/ponder@v0.1.0/deps.ts";
const { assertStringIncludes } = asserts;

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

Parameters

actual: string
expected: string
optional
msg: string