TS auto mock
HomeInstallationCreate mockCreate mock listCreate hydrated mockRegister mockExtensionTypes supportedTypes not supportedConfigPerformanceDefinitely TypedLocal development

TS auto mock logo

TypeScript transformer to create mocks for any type


Real Mocks

The creation of mocks is done during TypeScript compilation and preserves all type information.

Extendible

This library can be used with any testing framework. You can even provide your own implementation!

Type Safety

No more casting to 'any' to get your spy or mock. This library provides a mechanism to inject your spies while preserving their types.