diff --git a/project/package.json b/project/package.json index 933b6bcd..872f3dd4 100644 --- a/project/package.json +++ b/project/package.json @@ -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", diff --git a/project/vitest.config.ts b/project/vitest.config.ts index b5bd7afc..3975648c 100644 --- a/project/vitest.config.ts +++ b/project/vitest.config.ts @@ -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