File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 3636 "@types/mocha" : " ^9.0.0" ,
3737 "@types/node" : " ^16.4.10" ,
3838 "@types/rewire" : " ^2.5.28" ,
39+ "c8" : " ^7.10.0" ,
3940 "commitizen" : " ^4.2.4" ,
4041 "cross-env" : " ^7.0.3" ,
4142 "cz-conventional-changelog" : " ^3.3.0" ,
4748 "mocha" : " ^9.1.0" ,
4849 "mocha-lcov-reporter" : " 1" ,
4950 "mwts" : " ^1.2.2" ,
50- "nyc" : " ^15.1.0" ,
5151 "rewire" : " ^5.0.0" ,
5252 "standard-version" : " ^9.3.1" ,
5353 "swagger-ui-dist" : " ^3.51.1" ,
6565 "test" : " midway-bin test --ts --forceExit" ,
6666 "test:mocha" : " cross-env MIDWAY_SERVER_ENV=unittest mocha --parallel=false" ,
6767 "cov" : " midway-bin cov --ts --forceExit" ,
68- "cov:mocha" : " cross-env MIDWAY_SERVER_ENV=unittest TS_NODE_TYPE_CHECK=false TS_NODE_TRANSPILE_ONLY=true nyc mocha --parallel=false" ,
68+ "cov:mocha" : " cross-env MIDWAY_SERVER_ENV=unittest TS_NODE_TYPE_CHECK=false TS_NODE_TRANSPILE_ONLY=true c8 mocha --parallel=false" ,
6969 "lint" : " mwts check" ,
7070 "lint:fix" : " mwts fix" ,
7171 "ci" : " npm run cov" ,
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ export function retrieveExternalNetWorkInfo(): NetworkInterfaceInfo[] {
77 const ret = Object . entries ( networkInterfaces ( ) ) . reduce (
88 ( acc : NetworkInterfaceInfo [ ] , curr ) => {
99 const [ , nets ] = curr ;
10- /* istanbul ignore if */
10+ /* c8 ignore next 3 */
1111 if ( ! nets ) {
1212 return acc ;
1313 }
You can’t perform that action at this time.
0 commit comments