ts-jest
A preprocessor with source maps support to help use TypeScript with Jest
Last updated 5 days ago by tsjest .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ts-jest 
SYNC missed versions from official npm registry.

ts-jest

npm version NPM downloads Known Vulnerabilities Coverage Status Dependabot Status Build Status doc-generator release-and-publish

ts-jest is a TypeScript preprocessor with source map support for Jest that lets you use Jest to test projects written in TypeScript.

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 ts-jest community of Slack

Before reporting any issue, 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 t or npx jest yarn test or yarn jest

Built With

  • TypeScript - JavaScript that scales
  • Jest - Delightful JavaScript Testing
  • ts-jest - Jest processor for TypeScript (yes, ts-jest uses itself for its tests)

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

  • 26.4.0                                ...           latest (5 days ago)
  • 26.1.4-alpha.0                                ...           next (2 months ago)

125 Versions

  • 26.4.0                                ...           5 days ago
  • 26.3.0                                ...           a month ago
  • 26.2.0                                ...           a month ago
  • 26.1.4                                ...           2 months ago
  • 26.1.4-alpha.0                                ...           2 months ago
  • 26.1.3                                ...           2 months ago
  • 26.1.2                                ...           2 months ago
  • 26.1.1                                ...           3 months ago
  • 26.1.0                                ...           4 months ago
  • 26.0.0                                ...           4 months ago
  • 25.5.1                                ...           5 months ago
  • 25.5.1-alpha.0                                ...           5 months ago
  • 25.5.0                                ...           5 months ago
  • 25.5.0-beta.0                                ...           5 months ago
  • 25.5.0-alpha.0                                ...           5 months ago
  • 25.10.0-alpha.2                                ...           5 months ago
  • 25.10.0-alpha.1 [deprecated]           ...           5 months ago
  • 25.4.0                                ...           5 months ago
  • 25.3.1                                ...           6 months ago
  • 25.3.0                                ...           6 months ago
  • 25.2.1                                ...           7 months ago
  • 25.2.0                                ...           8 months ago
  • 25.1.0                                ...           8 months ago
  • 25.0.0                                ...           8 months ago
  • 24.3.0                                ...           9 months ago
  • 24.2.0                                ...           10 months ago
  • 24.1.0                                ...           a year ago
  • 24.0.2                                ...           a year ago
  • 24.0.1                                ...           a year ago
  • 24.0.0                                ...           2 years ago
  • 23.10.5                                ...           2 years ago
  • 23.10.4                                ...           2 years ago
  • 23.10.3                                ...           2 years ago
  • 23.10.2                                ...           2 years ago
  • 23.10.1                                ...           2 years ago
  • 23.10.0                                ...           2 years ago
  • 23.10.0-beta.6                                ...           2 years ago
  • 23.10.0-beta.5                                ...           2 years ago
  • 23.10.0-beta.4                                ...           2 years ago
  • 23.10.0-beta.3                                ...           2 years ago
  • 23.10.0-beta.2                                ...           2 years ago
  • 23.10.0-beta.1                                ...           2 years ago
  • 23.1.4                                ...           2 years ago
  • 23.1.3                                ...           2 years ago
  • 23.1.2                                ...           2 years ago
  • 23.1.1                                ...           2 years ago
  • 23.1.0                                ...           2 years ago
  • 23.0.1                                ...           2 years ago
  • 23.0.0                                ...           2 years ago
  • 22.4.6                                ...           2 years ago
  • 22.4.5                                ...           2 years ago
  • 22.4.4                                ...           2 years ago
  • 22.4.3                                ...           2 years ago
  • 22.4.2                                ...           3 years ago
  • 22.4.1                                ...           3 years ago
  • 22.4.0                                ...           3 years ago
  • 22.0.4                                ...           3 years ago
  • 22.0.3                                ...           3 years ago
  • 22.0.2                                ...           3 years ago
  • 22.0.1                                ...           3 years ago
  • 22.0.0                                ...           3 years ago
  • 21.2.4                                ...           3 years ago
  • 21.2.3                                ...           3 years ago
  • 21.2.2                                ...           3 years ago
  • 21.2.1                                ...           3 years ago
  • 21.2.0                                ...           3 years ago
  • 21.1.4                                ...           3 years ago
  • 21.1.3                                ...           3 years ago
  • 21.1.2                                ...           3 years ago
  • 21.1.1                                ...           3 years ago
  • 21.1.0                                ...           3 years ago
  • 21.0.1                                ...           3 years ago
  • 21.0.0                                ...           3 years ago
  • 20.0.14                                ...           3 years ago
  • 20.0.13                                ...           3 years ago
  • 20.0.12                                ...           3 years ago
  • 20.0.11                                ...           3 years ago
  • 20.0.10                                ...           3 years ago
  • 20.0.9                                ...           3 years ago
  • 20.0.8                                ...           3 years ago
  • 20.0.7                                ...           3 years ago
  • 20.0.6                                ...           3 years ago
  • 20.0.5                                ...           3 years ago
  • 20.0.4                                ...           3 years ago
  • 20.0.3                                ...           3 years ago
  • 20.0.2                                ...           3 years ago
  • 20.0.1                                ...           3 years ago
  • 20.0.0                                ...           3 years ago
  • 19.0.14                                ...           3 years ago
  • 19.0.13                                ...           3 years ago
  • 19.0.12                                ...           3 years ago
  • 19.0.11                                ...           3 years ago
  • 19.0.10                                ...           3 years ago
  • 19.0.9                                ...           3 years ago
  • 19.0.8                                ...           3 years ago
  • 19.0.7                                ...           3 years ago
  • 19.0.6                                ...           3 years ago
  • 19.0.5                                ...           3 years ago
  • 19.0.4                                ...           4 years ago
  • 19.0.3                                ...           4 years ago
  • 19.0.2                                ...           4 years ago
  • 19.0.1                                ...           4 years ago
  • 19.0.0                                ...           4 years ago
  • 18.0.3                                ...           4 years ago
  • 18.0.2                                ...           4 years ago
  • 18.0.1                                ...           4 years ago
  • 18.0.0                                ...           4 years ago
  • 17.0.3                                ...           4 years ago
  • 17.0.2                                ...           4 years ago
  • 17.0.1                                ...           4 years ago
  • 17.0.0                                ...           4 years ago
  • 0.1.13                                ...           4 years ago
  • 0.1.11                                ...           4 years ago
  • 0.1.10                                ...           4 years ago
  • 0.1.9                                ...           4 years ago
  • 0.1.8                                ...           4 years ago
  • 0.1.7                                ...           4 years ago
  • 0.1.6                                ...           4 years ago
  • 0.1.5                                ...           4 years ago
  • 0.1.4                                ...           4 years ago
  • 0.1.3                                ...           4 years ago
  • 0.1.2                                ...           4 years ago
  • 0.1.1                                ...           4 years ago
  • 0.1.0                                ...           4 years ago
  • 0.0.1                                ...           4 years ago
Maintainers (2)
Downloads
Today 2,204
This Week 22,922
This Month 104,964
Last Day 5,096
Last Week 29,324
Last Month 120,535
Dependencies (11)
Dependents (1576)

Copyright 2014 - 2016 © taobao.org |