File tree 3 files changed +6
-6
lines changed
packages/narr-material-ui-common/config/jest
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
const commonConfig = require ( '../../packages/narr-material-ui-common' ) ;
2
2
3
3
module . exports = commonConfig . getJestConfig ( {
4
- testRootDir : './ packages' ,
4
+ testRootDir : 'packages' ,
5
5
tsConfigFile : './tsconfig.json' ,
6
- collectCoverageFromRootDir : './ packages/**/src' ,
6
+ collectCoverageFromRootDir : 'packages/**/src' ,
7
7
} ) ;
Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ let config;
4
4
const target = process . env . JEST_TARGET ;
5
5
if ( target === 'core' ) {
6
6
config = {
7
- testRootDir : './ packages/narr-material-ui-core' ,
7
+ testRootDir : 'packages/narr-material-ui-core' ,
8
8
tsConfigFile : './tsconfig.json' ,
9
- collectCoverageFromRootDir : './ packages/narr-material-ui-core/src' ,
9
+ collectCoverageFromRootDir : 'packages/narr-material-ui-core/src' ,
10
10
coverageDirectory : './docs/narr-material-ui-core/coverage' ,
11
11
htmlReporterOutputPath :
12
12
'./docs/narr-material-ui-core/test-result/index.html' ,
Original file line number Diff line number Diff line change 1
1
module . exports = ( {
2
2
rootDir = '../../' ,
3
- testRootDir = './ src' ,
4
- collectCoverageFromRootDir = './ src' ,
3
+ testRootDir = 'src' ,
4
+ collectCoverageFromRootDir = 'src' ,
5
5
tsConfigFile = './node_modules/narr-material-ui-common/config/tsconfig.json' ,
6
6
} = { } ) => {
7
7
const config = {
You can’t perform that action at this time.
0 commit comments