From bbf2da79c2930d47afa2633a49e625f77b8f62f2 Mon Sep 17 00:00:00 2001 From: Fernando Dodino Date: Sun, 28 Jul 2024 10:00:50 -0300 Subject: [PATCH] Main.tsx out of coverage --- .gitignore | 3 +++ vite.config.ts | 2 ++ 2 files changed, 5 insertions(+) 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'], } })