import * as mod from "https://dotland.deno.dev/x/deno_slack_hooks@1.3.1/dev_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
Make an assertion that | |
Make an assertion that actual is not null or undefined. If not then throw. | |
Executes a function which returns a promise, expecting it to throw or reject. 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. Or you can pass a callback which will be passed the error, usually to apply some custom assertions on it. | |
Asserts that a spy is called as expected. | |
Asserts that a spy is called as much as expected and no more. | |
Make an assertion that actual includes expected. If not then throw. | |
Get a set of functions that do not share any state with the globals. | |
Preload the file that will be opened/read later. | |
Preloads virtual file that will be opened/read later. | |
Creates a function that returns the iterable values. Any iterable values that are errors will be thrown. | |
f spy | Wraps a function or instance method with a Spy. |
f stub | Replaces an instance method with a Stub. |
Interfaces
I Spy | A function or instance method wrapper that records all calls made to it. |
Type Aliases
A handler type for a router path match which gets passed the matched values |