From 7eec7ce89f38124c44ecc891519298a317dd2a48 Mon Sep 17 00:00:00 2001 From: jackwener Date: Mon, 16 Mar 2026 17:37:48 +0800 Subject: [PATCH] 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. --- vitest.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vitest.config.ts b/vitest.config.ts index 6ec74ee..5664c80 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -2,6 +2,6 @@ import { defineConfig } from 'vitest/config'; export default defineConfig({ test: { - include: ['src/**/*.test.ts'], + include: ['src/**/*.test.ts', 'tests/**/*.test.ts'], }, });