| 12345678910111213 |
- import { defineConfig } from "vitest/config";
- export default defineConfig({
- test: {
- // Bugfix: 外部 zcode-cli 历史里同时存在 test/ 和 tests/ 目录;合入 apps 后需要同时保留两种约定,避免新增包测试被根 include 规则过滤掉。
- include: [
- "test/**/*.test.ts",
- "tests/**/*.test.ts",
- "packages/*/test/**/*.test.ts",
- "packages/*/tests/**/*.test.ts",
- ],
- },
- });
|