Commit 2bc507c
committed
fix(test): correct e2e test exclusion pattern
Fix the exclusion pattern in vitest.config.mts to properly exclude e2e
tests from regular test runs. The pattern was using a hyphen (*-e2e)
but the actual test files use a dot (*.e2e), causing e2e tests to run
in both the regular test workflow and the dedicated e2e workflow.
Changes:
- Update exclusion pattern from '**/*-e2e.test.mts' to '**/*.e2e.test.mts'
- Now matches the actual e2e test file naming convention
- Matches the include pattern in vitest.e2e.config.mts
Result:
- Regular test runs: 272 test files (no e2e tests)
- E2E test runs: 2 e2e test files (dedicated workflow)
- No duplication between workflows1 parent 9e4a35b commit 2bc507c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
0 commit comments