Skip to content

Commit

Permalink
fix(vitest): remove duplicated result on coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
LeleDallas committed Jul 29, 2023
1 parent 241ff95 commit 1893e15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default defineConfig({
setupFiles: [resolve(__dirname, './setup.js')],
coverage: {
provider: "c8",
all: true,
// all: true,
include: ["src/**/*.tsx", "src/**/*.ts"],
exclude: ["src/main.tsx", "src/types", "src/vite-env.d.ts", "src/reducers.ts", "src/testReducer.ts"],
},
Expand Down
2 changes: 1 addition & 1 deletion server/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default defineConfig({
globals: true,
coverage: {
provider: "c8",
all: true,
// all: true,
include: ["**/*.ts"],
exclude: ["**/types/*.ts", "**/test/*.ts", "vite-env.d.ts", "vite.config.ts", "**/db/**/*.ts"],
},
Expand Down

0 comments on commit 1893e15

Please sign in to comment.