Big update!Introducing GitHub Bot Commands. Learn more
Socket
Log inBook a demo

ts-jest

Package Overview
Dependencies
8
Maintainers
3
Versions
185
Issues
File Explorer

Advanced tools

ts-jest

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

    29.0.3latest

Version published
Maintainers
3
Weekly downloads
7,123,338
decreased by-19.1%

Weekly downloads

Changelog

Source

29.0.3 (2022-09-28)

Bug Fixes

  • merge config from globals with transformer config correctly (#3842) (9c9fd60), closes #3841
  • presets: allow merging transform config when using presets (#3833) (afc6a94)

Features

  • add useESM option to pathsToModuleNameMapper options (#3792) (eabe906)

Readme

Source

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 [email protected]"<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 npmusing yarn
Prerequisitesnpm i -D jest typescriptyarn add --dev jest typescript
Installingnpm i -D ts-jest @types/jestyarn add --dev ts-jest @types/jest
Creating confignpx ts-jest config:inityarn ts-jest config:init
Running testsnpm test or npx jestyarn 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

Keywords

FAQs

What is ts-jest?

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

Is ts-jest popular?

The npm package ts-jest receives a total of 5,955,103 weekly downloads. As such, ts-jest popularity was classified as popular.

Is ts-jest well maintained?

We found that ts-jest demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.It has 3 open source maintainers collaborating on the project.

Last updated on 29 Sep 2022

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc