Files
openclaw/test/vitest/vitest.cli-process-paths.mjs
2026-07-28 00:41:49 -04:00

15 lines
554 B
JavaScript

// CLI process tests launch real Node+tsx children and must not contend with the
// shared CLI module graph. Keep the owned list explicit so full and focused runs agree.
export const cliProcessTestFiles = [
"src/cli/acp-cli-exit.process.test.ts",
"src/cli/gateway-backed-exit.process.test.ts",
"src/cli/help-exit.process.test.ts",
"src/cli/hooks-cli.process.test.ts",
];
const cliProcessTestFileSet = new Set(cliProcessTestFiles);
export function isCliProcessTestFile(value) {
return cliProcessTestFileSet.has(value.replaceAll("\\", "/"));
}