Files
openclaw/vitest.commands.config.ts
2026-04-06 15:51:00 +01:00

14 lines
448 B
TypeScript

import { commandsLightTestFiles } from "./vitest.commands-light-paths.mjs";
import { createScopedVitestConfig } from "./vitest.scoped-config.ts";
export function createCommandsVitestConfig(env?: Record<string, string | undefined>) {
return createScopedVitestConfig(["src/commands/**/*.test.ts"], {
dir: "src/commands",
env,
exclude: commandsLightTestFiles,
name: "commands",
});
}
export default createCommandsVitestConfig();