fix: restore tests/ in vitest include for CI compatibility

vitest run tests/e2e/ intersects the CLI path with include patterns,
so tests/ must be in the include glob for CI to find test files.
This commit is contained in:
jackwener committed 2026-03-16 17:37:48 +08:00
1 parent 788b069c02
commit 7eec7ce89f
1 file changed
+1 -1
+1 -1
View File
@@ -2,6 +2,6 @@ import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
include: ['src/**/*.test.ts'],
include: ['src/**/*.test.ts', 'tests/**/*.test.ts'],
},
});