From 8c437f4bfadfbccb5ea4c9f0904b4467a51ebbb3 Mon Sep 17 00:00:00 2001 From: Tom Crockett Date: Tue, 29 Aug 2017 23:26:43 -0700 Subject: [PATCH] Support prerelease version of Jest 21 (#304) Support prerelease version of Jest 21 Resolves #282 --- README.md | 2 ++ package.json | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4d5f4f71c1..56d2c05624 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/package.json b/package.json index 71496729af..c7f4f1755c 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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": {