How-to articles
Practical guides for common testing scenarios.
- Async functions with fake timers — Speed up tests that depend on timers
- Link seams (CommonJS) — Isolate your system under test with proxyquire
- Stub a dependency — Stub a dependency of a CommonJS module
- Stub ES module imports — Make ES module namespaces mutable for stubbing
- TypeScript and SWC — A detailed case study on real world dependency stubbing
