import * as molt from "https://deno.land/x/molt@0.17.2/lib/std/testing.ts";
Functions
Run some shared teardown after all of the tests in the suite. | |
Run some shared teardown after each test in the suite. | |
Asserts that a spy is called as expected. | |
Asserts that a spy is called with a specific arg as expected. | |
Asserts that a spy is called as much as expected and no more. | |
Run some shared setup before all of the tests in the suite. | |
Run some shared setup before each test in the suite. | |
Registers a test suite. | |
f it | Registers an individual test case. |
f spy | Wraps a function or instance method with a Spy. |
f stub | Replaces an instance method with a Stub. |
Interfaces
A constructor wrapper that records all calls made to it. | |
Registers a test suite. | |
Call information recorded by a spy. | |
I it | Registers an individual test case. |
I Spy | A function or instance method wrapper that records all calls made to it. |
Call information recorded by a spy. | |
I Stub | An instance method replacement that records all calls made to it. |