import * as dex from "https://deno.land/x/dex@1.0.2/lib/deps/testing/asserts.ts";
Functions
Make an assertion, if not | |
Make an assertion that | |
Make an assertion that | |
Make an assertion that | |
Make an assertion that | |
Make an assertion that actual contains expected. If not then thrown. | |
Make an assertion that | |
Executes a function, expecting it to throw. If it does not, then it throws. An error class and a string that should be included in the error message can also be asserted. | |
f fail | Forcefully throws a failed assertion |
Use this to stub out methods that will throw when invoked. | |
Use this to assert unreachable code. |