Skip to content
TypeScript Test Toolkit logo

TypeScript Test Toolkit

A Vitest / Jest per-test setup, async-operation tracking, strictProxy and mock helpers, usable in any TypeScript project.

One line of setup

Point Vitest or Jest at one setup file and every test starts from isolated state.

No swallowed errors

A rejection nobody awaited, or a Node warning, fails the test instead of scrolling past.

Strict mocks

strictProxy throws on every member a mock did not provide, instead of returning undefined.