mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-18 13:24:48 +00:00
16 lines
410 B
TypeScript
16 lines
410 B
TypeScript
import { startQaLabServer } from "./lab-server.js";
|
|
|
|
export async function runQaLabSelfCheck(params?: { repoRoot?: string; outputPath?: string }) {
|
|
const server = await startQaLabServer({
|
|
repoRoot: params?.repoRoot,
|
|
outputPath: params?.outputPath,
|
|
});
|
|
try {
|
|
return await server.runSelfCheck();
|
|
} finally {
|
|
await server.stop();
|
|
}
|
|
}
|
|
|
|
export const runQaE2eSelfCheck = runQaLabSelfCheck;
|