Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/denoexec/deps.ts>testing.assertStringIncludes

A higher level wrapper around https://doc.deno.land/builtin/stable#Deno.run
Latest
function testing.assertStringIncludes
import { testing } from "https://deno.land/x/denoexec@v1.1.5/deps.ts";
const { assertStringIncludes } = testing;

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

Parameters

actual: string
expected: string
optional
msg: string