mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 11:51:37 +00:00
test(core): use lightweight clears in subagent and browser setup
This commit is contained in:
@@ -60,8 +60,8 @@ const baseCfg = {
|
||||
describe("/subagents spawn command", () => {
|
||||
beforeEach(() => {
|
||||
resetSubagentRegistryForTests();
|
||||
spawnSubagentDirectMock.mockReset();
|
||||
hoisted.callGatewayMock.mockReset();
|
||||
spawnSubagentDirectMock.mockClear();
|
||||
hoisted.callGatewayMock.mockClear();
|
||||
});
|
||||
|
||||
it("shows usage when agentId is missing", async () => {
|
||||
|
||||
Reference in New Issue
Block a user