Skip to main content
Go to Latest
function asserts.assertStringIncludes
import { asserts } from "https://deno.land/x/ponder@v0.0.4.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