Ts Jest

A Jest transformer with source map support that lets you use Jest to test projects written in TypeScript.
Alternatives To Ts Jest
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Nodebestpractices95,407
4 days ago70cc-by-sa-4.0Dockerfile
:white_check_mark: The Node.js best practices list (February 2024)
Javascript Testing Best Practices22,956
2 months ago63mitJavaScript
📗🌐 🚢 Comprehensive and exhaustive JavaScript & Node.js testing best practices (July 2023)
Enzyme19,98451,43530,5683 days ago54December 20, 2019283mitJavaScript
JavaScript Testing utilities for React
Ts Jest6,79428,805120,5335 days ago189June 30, 202389mitTypeScript
A Jest transformer with source map support that lets you use Jest to test projects written in TypeScript.
Jest Cheat Sheet5,045
8 months agocc0-1.0
Jest cheat sheet
Pepperoni App Kit4,64528 months ago4March 24, 201771mitJavaScript
Pepperoni - React Native App Starter Kit for Android and iOS
Jest Dom4,2351,66240,8258 days ago59November 30, 2023108mitJavaScript
:owl: Custom jest matchers to test the state of the DOM
Jest Image Snapshot3,7014118882 months ago45November 28, 202323apache-2.0JavaScript
✨ Jest matcher for image comparisons. Most commonly used for visual regression testing.
Nodejs Integration Tests Best Practices2,983
7 months ago42JavaScript
✅ Beyond the basics of Node.js testing. Including a super-comprehensive best practices list and an example app (July 2022)
React Native Testing Library2,9264195219 days ago68November 30, 20239mitTypeScript
🦉 Simple and complete React Native testing utilities that encourage good testing practices.
Alternatives To Ts Jest
Select To Compare


Alternative Project Comparisons
Readme

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

Popular Testing Projects
Popular Jest Projects
Popular Software Quality Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Typescript
Ts
Testing
Jest
Preprocessor
Semver