diff --git a/packages/react/vitest.config.ts b/packages/react/vitest.config.ts index feb3a0d86..ba19314ed 100644 --- a/packages/react/vitest.config.ts +++ b/packages/react/vitest.config.ts @@ -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', + ], }, }, }); diff --git a/packages/utils/vitest.config.ts b/packages/utils/vitest.config.ts index c10d3950b..7738c6756 100644 --- a/packages/utils/vitest.config.ts +++ b/packages/utils/vitest.config.ts @@ -10,6 +10,7 @@ export default defineConfig({ globals: true, coverage: { provider: 'istanbul', + exclude: ['src/storage'], }, }, });