Run mocha with --no-parallel by default
MODIFY
package.json
package.json
"eslint": "cross-env TIMING=1 eslint --ext .js,.ts build/types src test",
"eslint:fix": "cross-env TIMING=1 eslint --ext .js,.ts --fix build/types src test",
"autocannon": "autocannon",
- "mochatest": "cross-env TS_NODE_FILES=true nyc mocha test/**/*Test.ts",
- "mochatest:no-parallel": "cross-env TS_NODE_FILES=true nyc mocha --no-parallel test/**/*Test.ts",
+ "mochatest": "cross-env TS_NODE_FILES=true mocha --no-parallel test/**/*Test.ts",
+ "mochatest:parallel": "cross-env TS_NODE_FILES=true mocha test/**/*Test.ts",
+ "mochatest:nyc": "cross-env TS_NODE_FILES=true nyc mocha --no-parallel test/**/*Test.ts",
+ "mochatest:nyc-parallel": "cross-env TS_NODE_FILES=true nyc mocha test/**/*Test.ts",
"mochatest:chargingStation": "cross-env TS_NODE_FILES=true mocha test/**/OCPP*Test.ts",
"mochatest:ocpi": "cross-env TS_NODE_FILES=true mocha test/**/OCPI*Test.ts",
"mochatest:tenant": "cross-env TS_NODE_FILES=true mocha test/**/*TenantTest.ts",

Run mocha with --no-parallel by default