Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/scaffold/tests/deps.ts>assertMatch

scaffold your next project with style and ๐Ÿ’—
Latest
function assertMatch
import { assertMatch } from "https://deno.land/x/scaffold@0.3.0/tests/deps.ts";

Make an assertion that actual match RegExp expected. If not then throw.

Parameters

actual: string
expected: RegExp
optional
msg: string