jest-ts is a high-performance Jest TypeScript transpiler powered by esbuild, offering 5-10x faster transpilation than ts-jest. Version 1.1.22 is the latest stable with a monthly release cadence. Key differentiators include intelligent caching based on code content, config, and package versions; on-demand type checking using the official TypeScript API that does not block test execution; and a one-click init command (npx jest-ts init) that generates config files, example code, and npm scripts. Supports Node.js and browser (jsdom) environments, and both CommonJS and ES modules. Requires jest >= 28.0.0 and TypeScript >= 5.0.0.
npm install jest-tsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Install jest-ts, run one-click init to generate config and example test, then run tests.
Upgrade jest to v28+ and TypeScript to v5+.
Use Node.js 16+ (currently LTS).
Use preset: 'jest-ts/jest-preset' in Jest config.
Write globals: { 'jest-ts': { ... } } in JavaScript config.Ensure jest-ts is installed: npm install jest-ts --save-dev. Verify preset: 'jest-ts/jest-preset'.
Change preset to 'jest-ts/jest-preset'.
Do not import jest-ts directly; use the preset in Jest config.