diff --git a/frontend/vitest.config.ts b/frontend/vitest.config.ts index 5d55cb242..e218d6f7a 100644 --- a/frontend/vitest.config.ts +++ b/frontend/vitest.config.ts @@ -10,12 +10,27 @@ export default defineConfig({ coverage: { reportsDirectory: 'public/coverage', provider: 'v8', - reporter: "json-summary", + reporter: ["text", "json-summary"], + exclude: [ + 'node_modules/**', + 'storybook-static/**', + 'src/stories/**', + 'src/config/**', + 'src/**/*.stories.{js,jsx,ts,tsx}', + 'src/index.tsx', + 'src/serviceWorker.js', + '.pnp.cjs', + '.pnp.loader.mjs', + '.storybook/**', + '.yarn/**', + 'src/util/testUtils/useEffectDebugger.js', + 'src/util/__mocks__/**', + ], }, }, resolve: { alias: { - '@/': '/src/', + '@/': '/src/', }, -}, + }, })