Skip to content

Commit 9745555

Browse files
committed
chore(Jest): update jest and ts-jest
1 parent 92212c6 commit 9745555

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

package.json

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -46,35 +46,31 @@
4646
"babel-preset-react": "^6.11.1",
4747
"enzyme": "^2.4.1",
4848
"glob": "^7.0.5",
49-
"jest": "^15.1.1",
49+
"jest": "^17.0.3",
5050
"react": "^15.0.2",
5151
"react-addons-test-utils": "^15.3.1",
5252
"react-dom": "^15.0.2",
5353
"react-test-renderer": "^15.3.1",
5454
"shelljs": "^0.7.0",
5555
"shx": "^0.1.4",
5656
"sinon": "^1.17.5",
57-
"ts-jest": "0.1.4",
57+
"ts-jest": "^17.0.0",
5858
"typescript": "^2.0.6",
5959
"webpack": "^1.13.0",
6060
"webpack-dev-server": "^1.14.1"
6161
},
6262
"jest": {
6363
"rootDir": "src",
64-
"scriptPreprocessor": "../node_modules/ts-jest/preprocessor.js",
64+
"transform": {
65+
".(ts|tsx)": "<rootDir>/../node_modules/ts-jest/preprocessor.js"
66+
},
6567
"moduleFileExtensions": [
6668
"ts",
6769
"tsx",
6870
"js",
6971
"json"
7072
],
7173
"testURL": "http://localhost:4000",
72-
"testRegex": "/__tests__/.*\\.(ts|tsx|js)$",
73-
"globals": {
74-
"__TS_CONFIG__": {
75-
"module": "commonjs",
76-
"jsx": "react"
77-
}
78-
}
74+
"testRegex": "/__tests__/.*\\.(ts|tsx|js)$"
7975
}
8076
}

0 commit comments

Comments
 (0)