switched coverage provider from v8 to istanbul

This commit is contained in:
TheSparta 2023-11-04 21:07:44 +00:00
parent 69b32fabdf
commit 0fff6afc8c
2 changed files with 3 additions and 4 deletions

View File

@ -56,9 +56,8 @@
"@types/ws": "8.5.7",
"@typescript-eslint/eslint-plugin": "6.7.5",
"@typescript-eslint/parser": "6.7.5",
"@vitest/coverage-v8": "1.0.0-beta.3",
"@vitest/coverage-istanbul": "1.0.0-beta.3",
"@vitest/ui": "1.0.0-beta.3",
"c8": "^8.0.1",
"cross-env": "7.0.3",
"date-fns": "^2.30.0",
"eslint": "8.51.0",

View File

@ -12,13 +12,13 @@ export default defineConfig({
environment: "./tests/CustomEnvironment.ts",
globals: true,
coverage: {
provider: "v8",
provider: "istanbul",
reporter: ["text", "html"],
reportsDirectory: "./tests/__coverage__",
reportOnFailure: true,
all: true,
include: ["src"],
exclude: ["src/models/**", "tests/**"]
exclude: ["src/models/**", "tests/**"]
},
typecheck: {
enabled: true