From 32dc95da33da3ed3784cf0a4a77b1543d658d167 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gromit=20=28=EC=A0=84=EB=AF=BC=EC=9E=AC=29?= <64779472+ssi02014@users.noreply.github.com> Date: Mon, 29 Apr 2024 03:37:25 +0900 Subject: [PATCH] chore: vitest.config (#76) --- packages/react/vitest.config.ts | 6 ++++++ packages/utils/vitest.config.ts | 1 + 2 files changed, 7 insertions(+) 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'], }, }, });