Skip to content

Commit

Permalink
ignore scripts for coverage test dir
Browse files Browse the repository at this point in the history
  • Loading branch information
mildronize committed Jan 8, 2024
1 parent 21b2806 commit 988266c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions vitest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/// <reference types="vitest" />
import { configDefaults, defineConfig } from 'vitest/config'

export default defineConfig({

test: {
coverage: {
exclude: [
...configDefaults.coverage.exclude ?? [],
'scripts',
]
},
},
});

0 comments on commit 988266c

Please sign in to comment.