ts-jest alternatives
8 packages that do the same job as ts-jest: @golevelup/ts-jest, @jest-mock/express, @testing-library/jest-dom, tinyspy, jasmine-spec-reporter, fishery, jest-fixed-jsdom, @fast-check/jest. Figures below are from npm, GitHub and Bundlephobia.
| Package | Weekly downloads | 12-month change | Gzip | Dependencies | Last release | Module | Types | Runtimes |
|---|---|---|---|---|---|---|---|---|
| ts-jest This package | 19.3m | +22% | - | 9 | 1 day ago | CommonJS | Bundled | - |
| @golevelup/ts-jest | 382.5k | - | - | 0 | 6 months ago | CommonJS | Bundled | - |
| @jest-mock/express | 502.9k | - | - | 1 | 1 year ago | CommonJS | Bundled | - |
| @testing-library/jest-dom | 47m | +157% | - | 6 | 1 month ago | ESM + CommonJS | Bundled | - |
| tinyspy | 36.2m | +120% | - | 0 | 20 days ago | ESM only | Bundled | - |
| jasmine-spec-reporter | 952.3k | -16% | - | 1 | 5 years ago | CommonJS | Bundled | - |
| fishery | 637.2k | +95% | - | 1 | 9 months ago | ESM + CommonJS | Bundled | - |
| jest-fixed-jsdom | 372.3k | +30% | - | 0 | 10 months ago | CommonJS | None | - |
| @fast-check/jest | 280.8k | - | - | 1 | 13 days ago | ESM + CommonJS | Bundled | - |
12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package (Bundlephobia). Runtimes are taken from each package's own documentation; "-" means not recorded.
Reusable utilities to help level up NestJS Testing
Compared with ts-jest
- 51x fewer weekly downloads (382.5k vs 19.3m)
- 0 dependencies vs 9
- Declares no Node.js engine range vs Node.js ^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0
- Last release 18 Mar 2026 vs 23 Sept 2026
- 2.6x fewer GitHub stars (2.7k vs 7.1k)
A lightweight Jest mock for unit testing Express
Compared with ts-jest
- 38x fewer weekly downloads (502.9k vs 19.3m)
- 1 dependency vs 9
- Declares no Node.js engine range vs Node.js ^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0
- Last release 3 Feb 2025 vs 23 Sept 2026
- 136x fewer GitHub stars (52 vs 7.1k)
Custom jest matchers to test the state of the DOM
Compared with ts-jest
- 2.4x more weekly downloads (47m vs 19.3m)
- 6 dependencies vs 9
- ESM + CommonJS vs CommonJS
- Declares Node.js >=22 vs Node.js ^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0
- Last release 9 Aug 2026 vs 23 Sept 2026
- 1.5x fewer GitHub stars (4.6k vs 7.1k)
A minimal fork of nanospy, with more features
Compared with ts-jest
- 1.9x more weekly downloads (36.2m vs 19.3m)
- 0 dependencies vs 9
- ESM only vs CommonJS
- Declares Node.js >=14.0.0 vs Node.js ^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0
- Last release 4 Sept 2026 vs 23 Sept 2026
- 11x fewer GitHub stars (630 vs 7.1k)
Spec reporter for jasmine behavior-driven development framework
Compared with ts-jest
- 20x fewer weekly downloads (952.3k vs 19.3m)
- 1 dependency vs 9
- Declares no Node.js engine range vs Node.js ^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0
- Last release 10 Apr 2021 vs 23 Sept 2026
- 28x fewer GitHub stars (254 vs 7.1k)
A library for setting up JavaScript factories to help build objects as test data, with full TypeScript support
Compared with ts-jest
- 30x fewer weekly downloads (637.2k vs 19.3m)
- 1 dependency vs 9
- ESM + CommonJS vs CommonJS
- Declares no Node.js engine range vs Node.js ^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0
- Last release 8 Dec 2025 vs 23 Sept 2026
- 6.9x fewer GitHub stars (1k vs 7.1k)
A superset of the JSDOM environment for Jest that respects Node.js globals.
Compared with ts-jest
- 52x fewer weekly downloads (372.3k vs 19.3m)
- 0 dependencies vs 9
- No types vs bundled types
- Declares Node.js >=18.0.0 vs Node.js ^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0
- Last release 14 Nov 2025 vs 23 Sept 2026
- 74x fewer GitHub stars (95 vs 7.1k)
Property based testing for Jest based on fast-check
Compared with ts-jest
- 69x fewer weekly downloads (280.8k vs 19.3m)
- 1 dependency vs 9
- ESM + CommonJS vs CommonJS
- Declares no Node.js engine range vs Node.js ^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0
- Last release 11 Sept 2026 vs 23 Sept 2026
- 1.4x fewer GitHub stars (5.2k vs 7.1k)
Indexability: Indexed: 20 US searches/month for "ts-jest alternatives".