Skip to content

Commit

Permalink
resloved issues
Browse files Browse the repository at this point in the history
  • Loading branch information
AnveshNalimela committed Aug 18, 2024
1 parent 67c9a21 commit 61d9255
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions vite.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import react from 'react';
import react from '@vitejs/plugin-react';
import { defineConfig } from 'vite';
import { VitePWA } from "vite-plugin-pwa";
// https://vitejs.dev/config/
Expand Down Expand Up @@ -58,11 +58,11 @@ export default defineConfig({
environment: 'jsdom',
setupFiles: './src/__tests__/setupTests.ts',
coverage: {
provider: 'c8', // or 'v8' if you prefer using the v8 coverage provider
reporter: ['text', 'json', 'html'], // You can customize this as needed
all: true, // include all files, even if they aren't tested
include: ['src/**/*.{js,ts,jsx,tsx}'], // Adjust the file patterns according to your project structure
exclude: ['node_modules/', 'dist/', 'dev-dist/', '__tests__/', 'coverage/'], // Exclude unnecessary files
provider: 'c8', // or 'istanbul' if you prefer
reporter: ['text', 'html'], // Choose the reporters you want
all: true,
include: ['src/**/*.{ts,tsx}'],
exclude: ['node_modules/', '__tests__/'],
},
},
server: {
Expand Down

0 comments on commit 61d9255

Please sign in to comment.