This repository was archived by the owner on Jan 26, 2019. It is now read-only.
File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ module.exports = {
82
82
testsSetup : resolveApp ( 'src/setupTests.ts' ) ,
83
83
appNodeModules : resolveApp ( 'node_modules' ) ,
84
84
appTsConfig : resolveApp ( 'tsconfig.json' ) ,
85
+ appTsTestConfig : resolveApp ( 'tsconfig.test.json' ) ,
85
86
publicUrl : getPublicUrl ( resolveApp ( 'package.json' ) ) ,
86
87
servedPath : getServedPath ( resolveApp ( 'package.json' ) ) ,
87
88
// These properties only exist before ejecting:
112
113
testsSetup : resolveOwn ( 'template/src/setupTests.ts' ) ,
113
114
appNodeModules : resolveOwn ( 'node_modules' ) ,
114
115
appTsConfig : resolveOwn ( 'template/tsconfig.json' ) ,
116
+ appTsTestConfig : resolveOwn ( 'template/tsconfig.test.json' ) ,
115
117
publicUrl : getPublicUrl ( resolveOwn ( 'package.json' ) ) ,
116
118
servedPath : getServedPath ( resolveOwn ( 'package.json' ) ) ,
117
119
// These properties only exist before ejecting:
Original file line number Diff line number Diff line change @@ -46,11 +46,8 @@ module.exports = (resolve, rootDir) => {
46
46
'^react-native$' : 'react-native-web' ,
47
47
} ,
48
48
globals : {
49
- __TS_CONFIG__ : {
50
- module : 'commonjs' ,
51
- } ,
52
49
'ts-jest' : {
53
- tsConfigFile : paths . appTsConfig ,
50
+ tsConfigFile : paths . appTsTestConfig ,
54
51
} ,
55
52
} ,
56
53
} ;
You can’t perform that action at this time.
0 commit comments