use C8 instead of nyc for test coverage

This commit is contained in:
Alex Holliday
2024-10-15 14:06:22 +08:00
parent 896b3437e5
commit 0bf271eca8
2 changed files with 183 additions and 2318 deletions

2491
Server/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -5,7 +5,7 @@
"main": "index.js",
"type": "module",
"scripts": {
"test": "nyc mocha",
"test": "c8 mocha",
"dev": "nodemon index.js"
},
"keywords": [],
@@ -16,7 +16,6 @@
"axios": "^1.7.2",
"bcrypt": "^5.1.1",
"bullmq": "5.7.15",
"chai": "5.1.1",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^4.19.2",
@@ -26,7 +25,6 @@
"jsonwebtoken": "9.0.2",
"mailersend": "^2.2.0",
"mjml": "^5.0.0-alpha.4",
"mocha": "10.7.3",
"mongoose": "^8.3.3",
"multer": "1.4.5-lts.1",
"nodemailer": "^6.9.14",
@@ -37,11 +35,11 @@
"winston": "^3.13.0"
},
"devDependencies": {
"chai": "5.1.1",
"mocha": "10.7.3",
"c8": "10.1.2",
"esm": "3.2.25",
"nodemon": "3.1.0",
"nyc": "17.1.0",
"proxyquire": "2.1.3",
"rewire": "7.0.0",
"sinon": "19.0.2"
}
}