Moves mocha config out of package.json into mocharc file

This commit is contained in:
Heinous Tugboat 2022-10-01 10:39:30 -04:00
parent 9ec96d6393
commit 6369534169
2 changed files with 15 additions and 21 deletions

15
.mocharc.jsonc Normal file
View file

@ -0,0 +1,15 @@
{
"bail": false,
"delay": false,
"diff": true,
"extension": ["ts"],
"node-option": "loader=ts-node/esm",
"parallel": true,
"reporter": "spec",
"require": ["./test/setup-tests.ts"],
"slow": "75",
"timeout": "2000",
"ui": "bdd",
"watch-files": ["test/**/*.ts"],
"watch-ignore": []
}

View file

@ -49,26 +49,5 @@
"mocha": "^10.0.0",
"sinon": "^14.0.0",
"sinon-chai": "^3.7.0"
},
"mocha": {
"bail": false,
"delay": false,
"diff": true,
"extension": [
"ts"
],
"node-option": "loader=ts-node/esm",
"parallel": true,
"reporter": "spec",
"require": [
"./test/setup-tests.ts"
],
"slow": "75",
"timeout": "2000",
"ui": "bdd",
"watch-files": [
"test/**/*.ts"
],
"watch-ignore": []
}
}