@xtandard/kit/testing
@xtandard/kit/testing — generic test helpers: createTestClock and
collectingSink.
import { … } from "@xtandard/kit/testing";Functions
Section titled “Functions”| Name | Summary |
|---|---|
collectingSink |
Create a CollectingSink. |
createTestClock |
Create a TestClock starting at start (default: real now). |
Interfaces
Section titled “Interfaces”| Name | Summary |
|---|---|
CollectingSink |
A sink that keeps everything it receives, with programmable failures. |
CollectingSinkOptions |
Options for collectingSink. |
TestClock |
A manually driven clock. |