Skip to content

Commit 1fafb99

Browse files
committed
fix(test): update root vitest configs to match .e2e.test naming convention
- Update vitest.e2e.config.mts include pattern from *-e2e.test.mts to *.e2e.test.mts - Update vitest.config.mts exclude pattern to match new naming - Aligns root configs with package-level configs and actual e2e test file names Ported from v1.x branch (jdalton/test-fix-limit-id).
1 parent bf9dcc1 commit 1fafb99

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

vitest.config.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default defineConfig({
2323
'**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build,eslint,prettier}.config.*',
2424
'**/*.test.{js,ts,mjs,cjs,mts}',
2525
// Exclude E2E tests from regular test runs.
26-
'**/*-e2e.test.mts',
26+
'**/*.e2e.test.mts',
2727
],
2828
passWithNoTests: true,
2929
reporters: ['default'],

vitest.e2e.config.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default defineConfig({
55
preserveSymlinks: false,
66
},
77
test: {
8-
include: ['**/*-e2e.test.mts'],
8+
include: ['**/*.e2e.test.mts'],
99
coverage: {
1010
exclude: [
1111
'**/{eslint,vitest}.config.*',

0 commit comments

Comments
 (0)