Skip to content

Commit 16122e1

Browse files
committed
fix(test): update 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 - Fixes e2e tests not being discovered after renaming cmd-fix-e2e.test.mts
1 parent 5ae586c commit 16122e1

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
@@ -11,7 +11,7 @@ export default defineConfig({
1111
'**/.{idea,git,cache,output,temp}/**',
1212
'**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build,eslint,prettier}.config.*',
1313
// Exclude E2E tests from regular test runs.
14-
'**/*-e2e.test.mts',
14+
'**/*.e2e.test.mts',
1515
],
1616
coverage: {
1717
exclude: [

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)