kulshekhar/ts-jest


TypeScript preprocessor with sourcemap support for Jest

https://kulshekhar.github.io/ts-jest

License: MIT

Language: TypeScript

Keywords: jest, testing, typescript


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

License

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

Project Statistics

Sourcerank 20
Repository Size 7.48 MB
Stars 2,782
Forks 228
Watchers 29
Open issues 77
Dependencies 2,663
Contributors 99
Tags 75
Created
Last updated
Last pushed

Top Contributors See all

Kulshekhar Kabra Huafu Gandon Gustav Wengel dependabot[bot] Ihor Chulinda greenkeeper[bot] dependabot-preview[bot] Ahn dependabot-bot Mohammad Rajabifard Andrew Bradley Michał Pierzchała OJ Kwon japhar81 beckend David Sheldrick Tony Valderrama Joscha Feth Gregor Stamac Greenkeeper

Packages Referencing this Repo

ts-jest
A preprocessor with source maps support to help use TypeScript with Jest
Latest release 24.2.0 - Updated - 2.78K stars
@ian-zy/ts-jest
A preprocessor with source maps support to help use TypeScript with Jest
Latest release 24.0.1 - Published - 2.78K stars
ts-jest-babel-7
A preprocessor with sourcemap support to help use Typescript with Jest
Latest release 22.0.7 - Updated - 2.78K stars
ts-jest-next
A preprocessor with sourcemap support to help use Typescript with Jest
Latest release 22.0.5 - Updated - 2.78K stars
ts-jest-fork
A preprocessor with sourcemap support to help use Typescript with Jest
Latest release 20.0.8-beta - Published - 2.78K stars
@eweilow/ts-jest-fork
A preprocessor with source maps support to help use TypeScript with Jest
Latest release 24.0.1-test - Published - 2.78K stars
ts-jest-babel-8
A preprocessor with sourcemap support to help use Typescript with Jest
Latest release 22.0.5 - Published - 2.78K stars
ts-jest-no-babel
A preprocessor with sourcemap support to help use Typescript with Jest
Latest release 19.0.15 - Published - 2.78K stars
paragon-ts-jest
A preprocessor with sourcemap support to help use Typescript with Jest
Latest release 20.0.10 - Published - 2.78K stars
org.webjars.npm:ts-jest
WebJar for ts-jest
Latest release 20.0.7 - Published - 2.78K stars

Recent Tags See all

v24.1.0 September 12, 2019
v24.0.2 April 05, 2019
v24.0.1 March 30, 2019
v24.0.0 February 18, 2019
v23.10.5 November 22, 2018
v23.10.4 October 06, 2018
v23.10.3 September 30, 2018
v23.10.2 September 26, 2018
v23.10.1 September 20, 2018
v23.10.0 September 19, 2018
v23.10.0-beta.6 September 13, 2018
v23.10.0-beta.5 September 12, 2018
v23.10.0-beta.4 September 06, 2018
v23.10.0-beta.3 September 06, 2018
v23.10.0-beta.2 September 02, 2018

Interesting Forks See all

camdub/ts-jest
A preprocessor with sourcemap support to help use Typescript with Jest
TypeScript - Last pushed - 1 stars

Something wrong with this page? Make a suggestion

Last synced: 2019-04-05 21:56:44 UTC

Login to resync this repository