ts-jest
A preprocessor with source maps support to help use TypeScript with Jest
Last updated 21 days ago by kul .
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 for linux Build Status for Windows

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

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. Tho 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.

License

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

Current Tags

  • 24.0.2                                ...           latest (21 days ago)
  • 23.10.0-beta.6                                ...           next (7 months ago)

98 Versions

  • 24.0.2                                ...           21 days ago
  • 24.0.1                                ...           a month ago
  • 24.0.0                                ...           2 months ago
  • 23.10.5                                ...           5 months ago
  • 23.10.4                                ...           7 months ago
  • 23.10.3                                ...           7 months ago
  • 23.10.2                                ...           7 months ago
  • 23.10.1                                ...           7 months ago
  • 23.10.0                                ...           7 months ago
  • 23.10.0-beta.6                                ...           7 months ago
  • 23.10.0-beta.5                                ...           7 months ago
  • 23.10.0-beta.4                                ...           8 months ago
  • 23.10.0-beta.3                                ...           8 months ago
  • 23.10.0-beta.2                                ...           8 months ago
  • 23.10.0-beta.1                                ...           8 months ago
  • 23.1.4                                ...           8 months ago
  • 23.1.3                                ...           9 months ago
  • 23.1.2                                ...           9 months ago
  • 23.1.1                                ...           9 months ago
  • 23.1.0                                ...           9 months ago
  • 23.0.1                                ...           9 months ago
  • 23.0.0                                ...           10 months ago
  • 22.4.6                                ...           a year ago
  • 22.4.5                                ...           a year ago
  • 22.4.4                                ...           a year ago
  • 22.4.3                                ...           a year ago
  • 22.4.2                                ...           a year ago
  • 22.4.1                                ...           a year ago
  • 22.4.0                                ...           a year ago
  • 22.0.4                                ...           a year ago
  • 22.0.3                                ...           a year ago
  • 22.0.2                                ...           a year ago
  • 22.0.1                                ...           a year ago
  • 22.0.0                                ...           a year ago
  • 21.2.4                                ...           a year ago
  • 21.2.3                                ...           a year ago
  • 21.2.2                                ...           a year ago
  • 21.2.1                                ...           a year ago
  • 21.2.0                                ...           a year ago
  • 21.1.4                                ...           a year ago
  • 21.1.3                                ...           2 years ago
  • 21.1.2                                ...           2 years ago
  • 21.1.1                                ...           2 years ago
  • 21.1.0                                ...           2 years ago
  • 21.0.1                                ...           2 years ago
  • 21.0.0                                ...           2 years ago
  • 20.0.14                                ...           2 years ago
  • 20.0.13                                ...           2 years ago
  • 20.0.12                                ...           2 years ago
  • 20.0.11                                ...           2 years ago
  • 20.0.10                                ...           2 years ago
  • 20.0.9                                ...           2 years ago
  • 20.0.8                                ...           2 years ago
  • 20.0.7                                ...           2 years ago
  • 20.0.6                                ...           2 years ago
  • 20.0.5                                ...           2 years ago
  • 20.0.4                                ...           2 years ago
  • 20.0.3                                ...           2 years ago
  • 20.0.2                                ...           2 years ago
  • 20.0.1                                ...           2 years ago
  • 20.0.0                                ...           2 years ago
  • 19.0.14                                ...           2 years ago
  • 19.0.13                                ...           2 years ago
  • 19.0.12                                ...           2 years ago
  • 19.0.11                                ...           2 years ago
  • 19.0.10                                ...           2 years ago
  • 19.0.9                                ...           2 years ago
  • 19.0.8                                ...           2 years ago
  • 19.0.7                                ...           2 years ago
  • 19.0.6                                ...           2 years ago
  • 19.0.5                                ...           2 years ago
  • 19.0.4                                ...           2 years ago
  • 19.0.3                                ...           2 years ago
  • 19.0.2                                ...           2 years ago
  • 19.0.1                                ...           2 years ago
  • 19.0.0                                ...           2 years ago
  • 18.0.3                                ...           2 years ago
  • 18.0.2                                ...           2 years ago
  • 18.0.1                                ...           2 years ago
  • 18.0.0                                ...           2 years ago
  • 17.0.3                                ...           2 years ago
  • 17.0.2                                ...           2 years ago
  • 17.0.1                                ...           2 years ago
  • 17.0.0                                ...           2 years ago
  • 0.1.13                                ...           2 years ago
  • 0.1.11                                ...           2 years ago
  • 0.1.10                                ...           3 years ago
  • 0.1.9                                ...           3 years ago
  • 0.1.8                                ...           3 years ago
  • 0.1.7                                ...           3 years ago
  • 0.1.6                                ...           3 years ago
  • 0.1.5                                ...           3 years ago
  • 0.1.4                                ...           3 years ago
  • 0.1.3                                ...           3 years ago
  • 0.1.2                                ...           3 years ago
  • 0.1.1                                ...           3 years ago
  • 0.1.0                                ...           3 years ago
  • 0.0.1                                ...           3 years ago
Maintainers (3)
Downloads
Today 831
This Week 5,411
This Month 25,372
Last Day 1,268
Last Week 5,893
Last Month 39,544
Dependencies (9)
Dependents (758)

Copyright 2014 - 2016 © taobao.org |