Skip to content

Commit 991085a

Browse files
committed
Coverage more specific
1 parent 2d868c3 commit 991085a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vite.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ export default defineConfig({
1919
environment: 'jsdom',
2020
coverage: {
2121
reporter: ['lcov', 'json', 'html', 'json-summary'],
22-
exclude: [ './src/main.tsx' ],
22+
include: [ './src'],
23+
exclude: [ './src/main.tsx', '**/*.cjs', '**/*.d.ts' ],
2324
},
2425
exclude: [...configDefaults.exclude, './src/main.tsx'],
2526
}

0 commit comments

Comments
 (0)