Skip to content

Commit

Permalink
chore: vitest.config (#76)
Browse files Browse the repository at this point in the history
ssi02014 authored Apr 28, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 220161f commit 32dc95d
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/react/vitest.config.ts
Original file line number Diff line number Diff line change
@@ -11,6 +11,12 @@ export default defineConfig({
setupFiles: './vitest.setup.ts',
coverage: {
provider: 'istanbul',
exclude: [
'src/index.ts',
'src/global.d.ts',
'src/components/index.ts',
'src/hooks/index.ts',
],
},
},
});
1 change: 1 addition & 0 deletions packages/utils/vitest.config.ts
Original file line number Diff line number Diff line change
@@ -10,6 +10,7 @@ export default defineConfig({
globals: true,
coverage: {
provider: 'istanbul',
exclude: ['src/storage'],
},
},
});

0 comments on commit 32dc95d

Please sign in to comment.