Skip to main content
Module

x/earthstar/src/test/asserts.ts>assertMatch

A specification and Javascript library for building online tools you can truly call your own.
Go to Latest
function assertMatch
import { assertMatch } from "https://deno.land/x/earthstar@v9.3.3/src/test/asserts.ts";

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

Parameters

actual: string
expected: RegExp
optional
msg: string