From ee8ac670b921bf676e6e7b598e24108ecd3471fd Mon Sep 17 00:00:00 2001 From: afc163 Date: Sun, 13 Nov 2016 16:03:59 +0800 Subject: [PATCH] change jest config --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 00d23bff15..8749ea8f95 100644 --- a/package.json +++ b/package.json @@ -162,7 +162,9 @@ "testPathIgnorePatterns": [ "/node_modules/" ], - "scriptPreprocessor": "node_modules/typescript-babel-jest", + "transform": { + ".*": "node_modules/typescript-babel-jest" + }, "testRegex": "(/tests/.*|\\.(test|spec))\\.(js)$" }, "pre-commit": [