Skip to content

Commit

Permalink
moving to exclude
Browse files Browse the repository at this point in the history
  • Loading branch information
boyney123 committed Oct 16, 2024
1 parent 47d7b46 commit d223737
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
/// <reference types="vitest" />
import { getViteConfig } from 'astro/config';
import { defaultExclude } from 'vitest/config';
import tsConfigPaths from 'vite-tsconfig-paths';

export default getViteConfig({
plugins: [tsConfigPaths()],
test: {
globals: true,
include: ['**/__tests__/**/*.{test,spec}.?(c|m)[jt]s?(x)'],
exclude: [...defaultExclude, 'e2e/**'],
},
});

0 comments on commit d223737

Please sign in to comment.