avoid unpredictable test results - parallel: false
MODIFY
.github/workflows/unit-tests.yml
.github/workflows/unit-tests.yml
@@ -95,8 +95,8 @@ jobs:
if [ ! -d test/config ]; then mkdir -p test/config; fi
cp src/assets/configs-ci/local.json test/config
npm run mochatest:createContext
- - name: npm run mochatest:nyc:parallel
- run: npm run mochatest:nyc:parallel
+ - name: npm run mochatest:nyc
+ run: npm run mochatest:nyc
- name: npm run coverage
run: npm run coverage

MODIFY
.vscode/settings.json
.vscode/settings.json
"TS_NODE_FILES": "true"
},
"mochaExplorer.files": "test/**/*Test.ts",
+ "mochaExplorer.parallel": false,
"mochaExplorer.exit": true,
"mochaExplorer.debuggerConfig": "Debug Mocha Tests",
"search.usePCRE2": true

avoid unpredictable test results - parallel: false