Skip to content
JS
Alternatives

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.

Data as of 25 Sept 2026
PackageWeekly downloads12-month changeGzipDependenciesLast releaseModuleTypesRuntimes
ts-jest
This package
19.3m+22%-91 day agoCommonJSBundled-
@golevelup/ts-jest382.5k--06 months agoCommonJSBundled-
@jest-mock/express502.9k--11 year agoCommonJSBundled-
@testing-library/jest-dom47m+157%-61 month agoESM + CommonJSBundled-
tinyspy36.2m+120%-020 days agoESM onlyBundled-
jasmine-spec-reporter952.3k-16%-15 years agoCommonJSBundled-
fishery637.2k+95%-19 months agoESM + CommonJSBundled-
jest-fixed-jsdom372.3k+30%-010 months agoCommonJSNone-
@fast-check/jest280.8k--113 days agoESM + CommonJSBundled-

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)
Sources: npm registry, npm downloads API, GitHub API, Bundlephobia. Data fetched 25 Sept 2026.

Indexability: Indexed: 20 US searches/month for "ts-jest alternatives".