Use .mocharc.json

This commit is contained in:
Dolan
2022-06-15 11:16:02 +01:00
parent bdbd15e7d9
commit e962f0ab83
4 changed files with 15 additions and 117 deletions

View File

@ -5,7 +5,7 @@
"main": "build/index.js",
"scripts": {
"pretest": "rimraf ./build",
"test": "cross-env TS_NODE_PROJECT=\"tsconfig.spec.json\" mocha -r ts-node/register -r tsconfig-paths/register \"src/**/*.ts\"",
"test": "mocha --config=.mocharc.json",
"test.coverage": "nyc npm test",
"test.watch": "npm test -- --watch",
"prepublishOnly": "npm run build --production",
@ -73,7 +73,6 @@
"@types/webpack": "^5.0.0",
"buffer": "^6.0.3",
"chai": "^3.5.0",
"cross-env": "^7.0.3",
"docsify-cli": "^4.3.0",
"glob": "^8.0.1",
"jszip": "^3.1.5",