test(core): continue reset-to-clear cleanup in subagent focus and web fetch

This commit is contained in:
Peter Steinberger
2026-02-22 08:30:05 +00:00
parent 7cac6bd85d
commit e67f813b0e
2 changed files with 2 additions and 2 deletions

View File

@@ -163,7 +163,7 @@ async function focusCodexAcpInThread(fake = createFakeThreadBindingManager()) {
describe("/focus, /unfocus, /agents", () => {
beforeEach(() => {
resetSubagentRegistryForTests();
hoisted.callGatewayMock.mockReset();
hoisted.callGatewayMock.mockClear();
hoisted.getThreadBindingManagerMock.mockClear().mockReturnValue(null);
hoisted.resolveThreadBindingThreadNameMock.mockClear().mockReturnValue("🤖 codex");
});