test(core): trim reset usage in gateway and install source specs

This commit is contained in:
Peter Steinberger
2026-02-22 08:25:04 +00:00
parent 6ceadaa41f
commit b014c70292
4 changed files with 4 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ import { createSubagentsTool } from "./tools/subagents-tool.js";
describe("openclaw-tools: subagents steer failure", () => {
beforeEach(() => {
resetSubagentRegistryForTests();
callGatewayMock.mockReset();
callGatewayMock.mockClear();
const storePath = path.join(
os.tmpdir(),
`openclaw-subagents-steer-${Date.now()}-${Math.random().toString(16).slice(2)}.json`,