Files
openclaw/vitest.commands-light.config.ts
2026-04-07 10:03:42 +01:00

17 lines
585 B
TypeScript

import { commandsLightTestFiles } from "./vitest.commands-light-paths.mjs";
import { createScopedVitestConfig } from "./vitest.scoped-config.ts";
import { unitFastTestFiles } from "./vitest.unit-fast-paths.mjs";
export function createCommandsLightVitestConfig(env?: Record<string, string | undefined>) {
return createScopedVitestConfig(commandsLightTestFiles, {
dir: "src/commands",
env,
exclude: unitFastTestFiles,
includeOpenClawRuntimeSetup: false,
name: "commands-light",
passWithNoTests: true,
});
}
export default createCommandsLightVitestConfig();