Skip to main content
Module

x/evt/test/test94.ts

💧EventEmitter's typesafe replacement
Go to Latest
File
import { assert, AssertionError } from "https://deno.land/x/tsafe@v1.4.1/mod.ts";
try {
assert(false, "We should never be here");
} catch (error) {
assert(error instanceof AssertionError);
}
console.log("PASS");