Skip to content

Commit 27f9f75

Browse files
committed
chore: update vitest configuration to refine test inclusion and exclusion patterns
1 parent 9988933 commit 27f9f75

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

vitest.config.ts

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11

2-
import { configDefaults, defineConfig } from 'vitest/config';
2+
import { defineConfig } from 'vitest/config';
33
export default defineConfig({
44
test: {
5-
include: [...configDefaults.include, 'tests/lib/**/*.js', 'tests/integrations/**/*.js'],
6-
exclude: [...configDefaults.exclude, 'tests/fixtures/**'],
5+
include: [
6+
'tests/lib/**/*.js',
7+
'tests/integrations/**/*.js'
8+
],
9+
exclude: [
10+
'**/node_modules/**',
11+
'**/dist/**',
12+
'tests/fixtures/**'
13+
],
714
passWithNoTests: true,
815
testTimeout: 60_000,
916
globals: true,

0 commit comments

Comments
 (0)