Commit 55a4b55 Mark George
committed
1 parent 7f1d5cc commit 55a4b55 Copy full SHA for 55a4b55
File tree 3 files changed +6
-5
lines changed
3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 12
12
"watch" : " rollup -c -w" ,
13
13
"lint" : " eslint . && echo '✔ eslint ran successfully.'" ,
14
14
"lint:fix" : " eslint --fix . && echo '✔ eslint ran successfully.'" ,
15
- "test" : " NODE_ENV=test jest --forceExit"
15
+ "test" : " NODE_ENV=test jest --forceExit --config=tests/config/jest.config.js "
16
16
},
17
17
"husky" : {
18
18
"hooks" : {
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
export default {
2
+ rootDir : '../' ,
2
3
testEnvironment : 'jest-environment-node' ,
3
4
testMatch : [ '**/?(*.)+(spec|test).js' ] ,
4
- setupFilesAfterEnv : [ './tests/ config/jest-setup.js' ] ,
5
- collectCoverageFrom : [ 'lib/*.js' ] ,
5
+ setupFilesAfterEnv : [ './config/jest-setup.js' ] ,
6
+ collectCoverageFrom : [ '../ lib/*.js' ] ,
6
7
globalSetup : 'jest-environment-puppeteer/setup' ,
7
8
globalTeardown : 'jest-environment-puppeteer/teardown' ,
8
9
testEnvironment : 'jest-environment-puppeteer' ,
9
10
testPathIgnorePatterns : [
10
11
'/node_modules/' ,
11
- 'tests/ config/jest-setup.js' ,
12
- 'tests/ lib/*' ,
12
+ 'config/jest-setup.js' ,
13
+ 'lib/*' ,
13
14
] ,
14
15
moduleDirectories : [
15
16
"lib" ,
You can’t perform that action at this time.
0 commit comments