Skip to content

Commit

Permalink
Enabled code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
NuroDev committed Feb 25, 2024
1 parent 8a6dbe7 commit d490d56
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@ import { defineConfig } from "vitest/config";

export default defineConfig({
test: {
coverage: {
all: false, // TODO: Remove this & check all files
clean: true,
enabled: true,
provider: "v8",
thresholds: {
statements: 100,
branches: 100,
functions: 100,
lines: 100,
},
},
setupFiles: ["dotenv/config"],
},
});

0 comments on commit d490d56

Please sign in to comment.