Moves mocha config out of package.json into mocharc file
This commit is contained in:
parent
9ec96d6393
commit
6369534169
2 changed files with 15 additions and 21 deletions
15
.mocharc.jsonc
Normal file
15
.mocharc.jsonc
Normal 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": []
|
||||
}
|
21
package.json
21
package.json
|
@ -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": []
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue