mirror of https://github.com/openclaw/openclaw.git
tests: format sessions spawn depth limits spec
This commit is contained in:
parent
a3705e76da
commit
a583185e08
|
|
@ -33,7 +33,9 @@ async function resetRegistry() {
|
||||||
resetSubagentRegistryForTests();
|
resetSubagentRegistryForTests();
|
||||||
}
|
}
|
||||||
|
|
||||||
async function addRegistryRun(run: Parameters<(typeof import("./subagent-registry.js"))["addSubagentRunForTests"]>[0]) {
|
async function addRegistryRun(
|
||||||
|
run: Parameters<(typeof import("./subagent-registry.js"))["addSubagentRunForTests"]>[0],
|
||||||
|
) {
|
||||||
const { addSubagentRunForTests } = await import("./subagent-registry.js");
|
const { addSubagentRunForTests } = await import("./subagent-registry.js");
|
||||||
addSubagentRunForTests(run);
|
addSubagentRunForTests(run);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue