Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

Storage for private, distributed, offline-first applications.
Go to Latest
function assertNotMatch
import { assertNotMatch } from "https://deno.land/x/earthstar@v10.0.1/src/test/asserts.ts";

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

Parameters

actual: string
expected: RegExp
optional
msg: string