Skip to main content
Module

x/momentum/core/test_deps.ts>assertMatch

Momentum is an open-source framework for building server-side Deno applications in TypeScript. It provides the paradigms and design patterns to guide developers to create robust, scalable, and enterprise-grade applications.
Latest
function assertMatch
import { assertMatch } from "https://deno.land/x/momentum@v0.8.2/core/test_deps.ts";

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

Parameters

actual: string
expected: RegExp
optional
msg: string