Skip to content

Commit

Permalink
Support prerelease version of Jest 21 (#304)
Browse files Browse the repository at this point in the history
Support prerelease version of Jest 21

Resolves #282
  • Loading branch information
pelotom authored and kulshekhar committed Aug 30, 2017
1 parent d8e03d6 commit 8c437f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ This setup should allow you to write Jest tests in Typescript and be able to loc
From version `"jest": "17.0.0"` we are using same MAJOR.MINOR as [`Jest`](https://github.com/facebook/jest).
For `"jest": "< 17.0.0"` use `"ts-jest": "0.1.13"`. Docs for it see [here](https://github.com/kulshekhar/ts-jest/blob/e1f95e524ed62091736f70abf63530f1f107ec03/README.md).

You can try using `ts-jest` with `jest@test`; use at your own risk! (And file an issue if you find problems.)

### Coverage

Prior to version `20.0.0`, coverage reports could be obtained using the inbuilt coverage processor in `ts-jest`. Starting with version `20.0.0`, `ts-jest` delegates coverage processing to jest and no longer includes a coverage processor.
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-jest",
"version": "20.0.11",
"version": "20.0.12",
"main": "index.js",
"types": "./dist/index.d.ts",
"description": "A preprocessor with sourcemap support to help use Typescript with Jest",
Expand Down Expand Up @@ -75,7 +75,7 @@
"yargs": "^8.0.1"
},
"peerDependencies": {
"jest": "^20.0.0",
"jest": "^20.0.0 || ^20.1.0-alpha.1 || ^21.0.0-alpha.1",
"typescript": "2.x"
},
"devDependencies": {
Expand Down

0 comments on commit 8c437f4

Please sign in to comment.