Skip to main content
Module

x/evt/test/test94.ts

💧EventEmitter's typesafe replacement
Go to Latest
File
import { assert, AssertionError } from "https://raw.githubusercontent.com/garronej/tsafe/v1.0.0/deno_dist/mod.ts";
try {
assert(false, "We should never be here");
} catch (error) {
assert(error instanceof AssertionError);
}
console.log("PASS");