diff --git a/.gitignore b/.gitignore index 6d6b25f..48ea037 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,6 @@ dist-ssr # VSC - Git Lens .history + +# Coverage report +coverage \ No newline at end of file diff --git a/vite.config.ts b/vite.config.ts index 9be7410..a6fe10d 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -2,6 +2,7 @@ /// import { defineConfig } from 'vite' +import { configDefaults } from 'vitest/config' import react from '@vitejs/plugin-react-swc' // https://vitejs.dev/config/ @@ -19,5 +20,6 @@ export default defineConfig({ coverage: { reporter: ['lcov', 'json', 'html', 'json-summary'], }, + exclude: [...configDefaults.exclude, '**/main.tsx'], } })