Skip to content

Commit

Permalink
chore: 🔧 for vitest coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
spences10 committed Jan 6, 2024
1 parent e8fbbb8 commit 3444837
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions apps/web/vitest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { defineConfig, mergeConfig } from 'vitest/config';
import viteConfig from './vite.config';

export default mergeConfig(
viteConfig,
defineConfig({
test: {
include: ['src/**/*.test.{js,ts,svelte}'],
globals: true,
environment: 'jsdom',
coverage: {
all: false,
thresholds: {
statements: 75,
branches: 84,
functions: 68,
lines: 75,
},
},
},
}),
);

0 comments on commit 3444837

Please sign in to comment.