Module

x/bdd/mod.ts>assertMatch

A Behaviour-Driven Development Testing Framework for Deno
Latest
function assertMatch
import { assertMatch } from "https://dotland.deno.dev/x/bdd@v0.2/mod.ts";

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

Parameters

actual: string
expected: RegExp
optional
msg: string