File tree Expand file tree Collapse file tree 3 files changed +418
-127
lines changed Expand file tree Collapse file tree 3 files changed +418
-127
lines changed Original file line number Diff line number Diff line change
1
+ // set the NODE_ENV to test if not already set, NODE_ENV=test changes the default worker count to 1
2
+ process . env . NODE_ENV = process . env . NODE_ENV || 'test' ;
Original file line number Diff line number Diff line change 19
19
"author" :
" Tom Dale <[email protected] >" ,
20
20
"main" : " src/fastboot-app-server.js" ,
21
21
"scripts" : {
22
- "lint:js" : " eslint --cache ." ,
23
- "test" : " yarn lint:js && NODE_ENV=test mocha"
22
+ "lint" : " eslint --cache ." ,
23
+ "test" : " npm-run-all lint test:*" ,
24
+ "test:mocha" : " mocha"
24
25
},
25
26
"dependencies" : {
26
27
"basic-auth" : " ^2.0.1" ,
32
33
},
33
34
"devDependencies" : {
34
35
"chai" : " ^4.1.0" ,
35
- "eslint" : " ^6.8 .0" ,
36
- "eslint-plugin-mocha" : " ^6.3 .0" ,
36
+ "eslint" : " ^7.12 .0" ,
37
+ "eslint-plugin-mocha" : " ^8.0 .0" ,
37
38
"eslint-plugin-node" : " ^11.1.0" ,
38
39
"mocha" : " ^8.2.0" ,
40
+ "npm-run-all" : " ^4.1.5" ,
39
41
"release-it" : " ^14.2.0" ,
40
42
"release-it-lerna-changelog" : " ^3.0.0" ,
41
43
"request" : " ^2.81.0" ,
You can’t perform that action at this time.
0 commit comments