test(subagents): use lightweight clears in sessions spawn suites

This commit is contained in:
Peter Steinberger
2026-02-22 08:27:29 +00:00
parent 8887f41d7d
commit c7606e7064
5 changed files with 5 additions and 5 deletions

View File

@@ -100,7 +100,7 @@ describe("openclaw-tools: subagents (sessions_spawn model + thinking)", () => {
beforeEach(() => {
resetSessionsSpawnConfigOverride();
resetSubagentRegistryForTests();
callGatewayMock.mockReset();
callGatewayMock.mockClear();
});
it("sessions_spawn applies a model to the child session", async () => {