Skip to content

Commit

Permalink
Update vitest.config.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
narthur committed Nov 20, 2024
1 parent b97aa97 commit 6778193
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
import { defineConfig } from 'vitest/config';

export default defineConfig({
resolve: process.env.VITEST
? {
conditions: ['browser'],
}
: undefined,
test: {
environment: 'jsdom',
setupFiles: ['./global-setup.ts'],
Expand All @@ -12,7 +17,7 @@ export default defineConfig({
'**/cypress/**',
'**/.{idea,git,cache,output,temp}/**',
'**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build}.config.*',
'**/src/react/**'
'**/src/react/**',
],
},
});

0 comments on commit 6778193

Please sign in to comment.