# kulshekhar/ts-jest

A Jest transformer with source map support that lets you use Jest to test projects written in TypeScript.

Repository: https://github.com/kulshekhar/ts-jest
Canonical: https://ross.abutalabs.com/products/ts-jest
Homepage: https://kulshekhar.github.io/ts-jest
Language: TypeScript
License: MIT
License Family: permissive
Topics: typescript, testing, jest
Last push: 2026-08-26T20:30:19+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 94, longevity 100
- inputs: {"age_days": 3655, "days_push": 7, "days_rel": 42, "gap_med": 23.0, "n_releases_24m": 19}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7075, forks 476 (observed 2026-08-28T04:09:55.703774+00:00)

## What it is
ts-jest is a Jest transformer that enables testing TypeScript projects with Jest, providing source map support and full TypeScript feature support including type-checking. It offers several Jest presets for quick setup and can work in combination with Babel.

## Use cases
- run jest tests on a typescript project
- test typescript code with type checking
- set up jest for typescript with presets
- get source maps in jest test errors for typescript
- use babel alongside typescript in jest
- migrate a javascript jest setup to typescript

## When to choose
- you use Jest and want first-class TypeScript support with type-checking during tests
- you need accurate stack traces via source maps in TypeScript tests
- you want ready-made Jest presets to get started quickly

## When to avoid
- you use a test runner other than Jest, such as Vitest
- you prefer transpile-only speed via Babel's preset-typescript without type-checking
- your project does not use TypeScript

## Facets
- artifact type: library
- maturity: stable
- function: testing, e2e-testing, compiler
- domain: testing, developer-tools, web-development
- platform: cli, cross-platform
- tags: jest, typescript, test-transformer, source-maps, unit-testing, nodejs

## Member repositories
- kulshekhar/ts-jest (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:55.703774+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:40:12.867097+00:00, confidence not recorded.
  - readme: https://github.com/kulshekhar/ts-jest (fetched 2026-08-28T04:09:55.703774+00:00, sha c081c44d56d9)
  - homepage: https://kulshekhar.github.io/ts-jest (fetched 2026-08-29T08:36:18.203131+00:00, sha 06205494d254)
- Data as of 2026-08-30T08:39:29.467469+00:00.
