import * as jwfetch from "https://deno.land/x/jwfetch@v1.2.0/test_deps.ts";
Variables
Replace | |
Mock a new route, or override an existing handler. | |
This is the function that replaces | |
Remove an existing route handler. | |
Remove all existing route handlers. | |
Restore | |
Functions
Run some shared teardown after each test in the suite. | |
Make an assertion, error will be thrown if | |
Make an assertion that | |
Executes a function which returns a promise, expecting it to reject. | |
Make an assertion that | |
Executes a function, expecting it to throw. If it does not, then it throws. | |
Run some shared setup before each test in the suite. | |
Registers a test suite. | |
f it | Registers an individual test case. |
Create a stateful version of the global functions that do not contain any global state. | |
Use this to assert unreachable code. |
Interfaces
Registers a test suite. | |
I it | Registers an individual test case. |