File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change 46
46
"babel-preset-react" : " ^6.11.1" ,
47
47
"enzyme" : " ^2.4.1" ,
48
48
"glob" : " ^7.0.5" ,
49
- "jest" : " ^15.1.1 " ,
49
+ "jest" : " ^17.0.3 " ,
50
50
"react" : " ^15.0.2" ,
51
51
"react-addons-test-utils" : " ^15.3.1" ,
52
52
"react-dom" : " ^15.0.2" ,
53
53
"react-test-renderer" : " ^15.3.1" ,
54
54
"shelljs" : " ^0.7.0" ,
55
55
"shx" : " ^0.1.4" ,
56
56
"sinon" : " ^1.17.5" ,
57
- "ts-jest" : " 0.1.4 " ,
57
+ "ts-jest" : " ^17.0.0 " ,
58
58
"typescript" : " ^2.0.6" ,
59
59
"webpack" : " ^1.13.0" ,
60
60
"webpack-dev-server" : " ^1.14.1"
61
61
},
62
62
"jest" : {
63
63
"rootDir" : " src" ,
64
- "scriptPreprocessor" : " ../node_modules/ts-jest/preprocessor.js" ,
64
+ "transform" : {
65
+ ".(ts|tsx)" : " <rootDir>/../node_modules/ts-jest/preprocessor.js"
66
+ },
65
67
"moduleFileExtensions" : [
66
68
" ts" ,
67
69
" tsx" ,
68
70
" js" ,
69
71
" json"
70
72
],
71
73
"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)$"
79
75
}
80
76
}
You can’t perform that action at this time.
0 commit comments