ts-jest
A Jest transformer with source map support that lets you use Jest to test projects written in TypeScript
Last updated 11 days ago .
· Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ts-jest 
SYNC missed versions from official npm registry.

ts-jest

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

NPM version NPM downloads Known vulnerabilities Coverage status GitHub actions GitHub license

It supports all features of TypeScript including type-checking. Read more about Babel7 + preset-typescript vs TypeScript (and ts-jest).


We are not doing semantic versioning and 23.10 is a re-write, run npm i -D ts-jest@"<23.10.0" to go back to the previous version

View the online documentation (usage & technical)

Ask for some help in the Jest Discord community or ts-jest GitHub Discussion

Before reporting any issues, be sure to check the troubleshooting page

We're looking for collaborators! Want to help improve ts-jest?


Getting Started

These instructions will get you setup to use ts-jest in your project. For more detailed documentation, please check online documentation.

using npm using yarn
Prerequisites npm i -D jest typescript yarn add --dev jest typescript
Installing npm i -D ts-jest @types/jest yarn add --dev ts-jest @types/jest
Creating config npx ts-jest config:init yarn ts-jest config:init
Running tests npm test or npx jest yarn test or yarn jest

Built With

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We DO NOT use SemVer for versioning. Though you can think about SemVer when reading our version, except our major number follows the one of Jest. For the versions available, see the tags on this repository.

Authors/maintainers

See also the list of contributors who participated in this project.

Supporters

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Current Tags

  • 28.0.5                                ...           latest (11 days ago)
  • 28.0.0-next.3                                ...           next (2 months ago)

176 Versions

  • 27.1.1                                ...           7 months ago
  • 27.1.0                                ...           7 months ago
  • 27.0.7                                ...           8 months ago
  • 27.0.6                                ...           8 months ago
  • 27.0.5                                ...           10 months ago
  • 27.0.4                                ...           a year ago
  • 27.0.3                                ...           a year ago
  • 27.0.2                                ...           a year ago
  • 27.0.1                                ...           a year ago
  • 27.0.0                                ...           a year ago
  • 26.5.6                                ...           a year ago
  • 27.0.0-next.12                                ...           a year ago
  • 27.0.0-next.11                                ...           a year ago
  • 26.5.5                                ...           a year ago
  • 27.0.0-next.10                                ...           a year ago
  • 27.0.0-next.9                                ...           a year ago
  • 26.5.4                                ...           a year ago
  • 27.0.0-next.8                                ...           a year ago
  • 26.5.3                                ...           a year ago
  • 27.0.0-next.7                                ...           a year ago
  • 26.5.2                                ...           a year ago
  • 27.0.0-next.6                                ...           a year ago
  • 26.5.1                                ...           a year ago
  • 27.0.0-next.5                                ...           a year ago
  • 26.5.0                                ...           a year ago
  • 27.0.0-next.4                                ...           a year ago
  • 27.0.0-next.3                                ...           a year ago
  • 27.0.0-next.2                                ...           2 years ago
  • 27.0.0-alpha.1                                ...           2 years ago
  • 27.0.0-alpha.0                                ...           2 years ago
  • 26.4.4                                ...           2 years ago
  • 26.4.4-alpha.0                                ...           2 years ago
  • 26.4.3                                ...           2 years ago
  • 26.4.3-beta.0                                ...           2 years ago
  • 26.4.2                                ...           2 years ago
  • 26.4.1                                ...           2 years ago
  • 26.4.1-alpha.0                                ...           2 years ago
  • 26.4.0                                ...           2 years ago
  • 26.3.0                                ...           2 years ago
  • 26.2.0                                ...           2 years ago
  • 26.1.4                                ...           2 years ago
  • 26.1.4-alpha.0                                ...           2 years ago
  • 26.1.3                                ...           2 years ago
  • 26.1.2                                ...           2 years ago
  • 26.1.1                                ...           2 years ago
  • 26.1.0                                ...           2 years ago
  • 26.0.0                                ...           2 years ago
  • 25.5.1                                ...           2 years ago
  • 25.5.1-alpha.0                                ...           2 years ago
  • 25.5.0                                ...           2 years ago
  • 25.5.0-beta.0                                ...           2 years ago
  • 25.5.0-alpha.0                                ...           2 years ago
  • 25.10.0-alpha.2                                ...           2 years ago
  • 25.10.0-alpha.1 [deprecated]           ...           2 years ago
  • 25.4.0                                ...           2 years ago
  • 25.3.1                                ...           2 years ago
  • 25.3.0                                ...           2 years ago
  • 25.2.1                                ...           2 years ago
  • 25.2.0                                ...           2 years ago
  • 25.1.0                                ...           2 years ago
  • 25.0.0                                ...           2 years ago
  • 24.3.0                                ...           2 years ago
  • 24.2.0                                ...           3 years ago
  • 24.1.0                                ...           3 years ago
  • 24.0.2                                ...           3 years ago
  • 24.0.1                                ...           3 years ago
  • 24.0.0                                ...           3 years ago
  • 23.10.5                                ...           4 years ago
  • 23.10.4                                ...           4 years ago
  • 23.10.3                                ...           4 years ago
  • 23.10.2                                ...           4 years ago
  • 23.10.1                                ...           4 years ago
  • 23.10.0                                ...           4 years ago
  • 23.10.0-beta.6                                ...           4 years ago
  • 23.10.0-beta.5                                ...           4 years ago
  • 23.10.0-beta.4                                ...           4 years ago
  • 23.10.0-beta.3                                ...           4 years ago
  • 23.10.0-beta.2                                ...           4 years ago
  • 23.10.0-beta.1                                ...           4 years ago
  • 23.1.4                                ...           4 years ago
  • 23.1.3                                ...           4 years ago
  • 23.1.2                                ...           4 years ago
  • 23.1.1                                ...           4 years ago
  • 23.1.0                                ...           4 years ago
  • 23.0.1                                ...           4 years ago
  • 23.0.0                                ...           4 years ago
  • 22.4.6                                ...           4 years ago
  • 22.4.5                                ...           4 years ago
  • 22.4.4                                ...           4 years ago
  • 22.4.3                                ...           4 years ago
  • 22.4.2                                ...           4 years ago
  • 22.4.1                                ...           4 years ago
  • 22.4.0                                ...           4 years ago
  • 22.0.4                                ...           4 years ago
  • 22.0.3                                ...           4 years ago
  • 22.0.2                                ...           4 years ago
  • 22.0.1                                ...           4 years ago
  • 22.0.0                                ...           5 years ago
  • 21.2.4                                ...           5 years ago
  • 21.2.3                                ...           5 years ago
  • 21.2.2                                ...           5 years ago
  • 21.2.1                                ...           5 years ago
  • 21.2.0                                ...           5 years ago
  • 21.1.4                                ...           5 years ago
  • 21.1.3                                ...           5 years ago
  • 21.1.2                                ...           5 years ago
  • 21.1.1                                ...           5 years ago
  • 21.1.0                                ...           5 years ago
  • 21.0.1                                ...           5 years ago
  • 21.0.0                                ...           5 years ago
  • 20.0.14                                ...           5 years ago
  • 20.0.13                                ...           5 years ago
  • 20.0.12                                ...           5 years ago
  • 20.0.11                                ...           5 years ago
  • 20.0.10                                ...           5 years ago
  • 20.0.9                                ...           5 years ago
  • 20.0.8                                ...           5 years ago
  • 20.0.7                                ...           5 years ago
  • 20.0.6                                ...           5 years ago
  • 20.0.5                                ...           5 years ago
  • 20.0.4                                ...           5 years ago
  • 20.0.3                                ...           5 years ago
  • 20.0.2                                ...           5 years ago
  • 20.0.1                                ...           5 years ago
  • 20.0.0                                ...           5 years ago
  • 19.0.14                                ...           5 years ago
  • 19.0.13                                ...           5 years ago
  • 19.0.12                                ...           5 years ago
  • 19.0.11                                ...           5 years ago
  • 19.0.10                                ...           5 years ago
  • 19.0.9                                ...           5 years ago
  • 19.0.8                                ...           5 years ago
  • 19.0.7                                ...           5 years ago
  • 19.0.6                                ...           5 years ago
  • 19.0.5                                ...           5 years ago
  • 19.0.4                                ...           5 years ago
  • 19.0.3                                ...           5 years ago
  • 19.0.2                                ...           5 years ago
  • 19.0.1                                ...           5 years ago
  • 19.0.0                                ...           5 years ago
  • 18.0.3                                ...           5 years ago
  • 18.0.2                                ...           5 years ago
  • 18.0.1                                ...           5 years ago
  • 18.0.0                                ...           6 years ago
  • 17.0.3                                ...           6 years ago
  • 17.0.2                                ...           6 years ago
  • 17.0.1                                ...           6 years ago
  • 17.0.0                                ...           6 years ago
  • 0.1.13                                ...           6 years ago
  • 0.1.11                                ...           6 years ago
  • 0.1.10                                ...           6 years ago
  • 0.1.9                                ...           6 years ago
  • 0.1.8                                ...           6 years ago
  • 0.1.7                                ...           6 years ago
  • 0.1.6                                ...           6 years ago
  • 0.1.5                                ...           6 years ago
  • 0.1.4                                ...           6 years ago
  • 0.1.3                                ...           6 years ago
  • 0.1.2                                ...           6 years ago
  • 0.1.1                                ...           6 years ago
  • 0.1.0                                ...           6 years ago
  • 0.0.1                                ...           6 years ago
  • 27.1.2                                ...           6 months ago
  • 27.1.3                                ...           5 months ago
  • 27.1.4                                ...           3 months ago
  • 28.0.0-next.0                                ...           2 months ago
  • 28.0.0-next.1                                ...           2 months ago
  • 28.0.0-next.2                                ...           2 months ago
  • 28.0.0-next.3                                ...           2 months ago
  • 28.0.0                                ...           2 months ago
  • 28.0.1                                ...           2 months ago
  • 28.0.2                                ...           2 months ago
  • 27.1.5                                ...           a month ago
  • 28.0.3                                ...           a month ago
  • 28.0.4                                ...           22 days ago
  • 28.0.5                                ...           11 days ago

Copyright © npmmirror.com | 浙ICP备15033595号-63 |