TypeScript preprocessor with sourcemap support for Jest
huafu Merge pull request #735 from huafu/master
chore(release): 23.10.0
Latest commit 21644da Sep 19, 2018
Permalink
Failed to load latest commit information.
.github chore: updates versions and keep comments Aug 31, 2018
docs docs(readme): temprally remove troubleshooting link Sep 19, 2018
e2e test(e2e): updates dependencies in templates Sep 16, 2018
scripts style(scripts): typos Sep 16, 2018
src test(config): stop using snapshots for pkg versions Sep 19, 2018
.editorconfig test: more templates + test for version warnings Aug 20, 2018
.eslintignore chore(style): stronger lint rules + lint commit msg Sep 3, 2018
.eslintrc.js fix: node 6 unhappy again... Aug 20, 2018
.gitignore fix: normalizes bundle hash on any node version Aug 21, 2018
.markdownlint.yaml docs: renames remaining `TSJest` Sep 12, 2018
.npmignore style(bundle): exclude markdown lint config file from bundle Sep 12, 2018
.npmrc style(release): normalize version message Sep 6, 2018
.prettierignore feat: handles stringifyContentPathRegex Aug 13, 2018
.prettierrc chore(style): stronger lint rules + lint commit msg Sep 3, 2018
.travis.yml ci(travis): disable the commit filter, it randomely works Sep 10, 2018
CHANGELOG.md chore(release): 23.10.0 Sep 19, 2018
CONTRIBUTING.md docs(slack): updates the Slack link to the shortened version Sep 19, 2018
LICENSE.md docs(community): updates readme and community related docs Sep 4, 2018
README.md docs(readme): temprally remove troubleshooting link Sep 19, 2018
appveyor.yml ci(appveyor): cache npm versions as well Sep 19, 2018
cli.js Beta docfix (#711) Sep 11, 2018
commitlint.config.js chore(style): stronger lint rules + lint commit msg Sep 3, 2018
icon.png style(logo): svg version & png refined Sep 17, 2018
jest-preset.js refac: rearrange code in dedicated folders Aug 21, 2018
jest.config.js feat(logging): improves log messages + tests Aug 31, 2018
package-lock.json chore(release): 23.10.0 Sep 19, 2018
package.json chore(release): 23.10.0 Sep 19, 2018
preprocessor.js feat(logging): improves log messages + tests Aug 31, 2018
tsconfig.build.json fix(config): jsx should also be considered as js files Sep 18, 2018
tsconfig.json fix(config): jsx should also be considered as js files Sep 18, 2018
tslint.json style(fix): exclude package.json from tslint rules Sep 19, 2018

README.md

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 yarn add --dev ts-jest
Creating config node_modules/.bin/ts-jest config:init yarn ts-jest config:init
Running tests npm t or node_modules/.bin/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 DOT NOT use SemVer for versioning. Tho you can think about SemVer when reading our version, except our major number follow 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