mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 13:21:36 +00:00
test(core): reduce mock reset overhead in targeted suites
This commit is contained in:
@@ -337,7 +337,7 @@ describe("abort detection", () => {
|
||||
});
|
||||
|
||||
it("cascade stop traverses ended depth-1 parents to stop active depth-2 children", async () => {
|
||||
subagentRegistryMocks.listSubagentRunsForRequester.mockReset();
|
||||
subagentRegistryMocks.listSubagentRunsForRequester.mockClear();
|
||||
subagentRegistryMocks.markSubagentRunTerminated.mockClear();
|
||||
const root = await fs.mkdtemp(path.join(os.tmpdir(), "openclaw-abort-"));
|
||||
const storePath = path.join(root, "sessions.json");
|
||||
|
||||
Reference in New Issue
Block a user