test(auto-reply): trim setup resets in block streaming and subagent focus

This commit is contained in:
Peter Steinberger
2026-02-22 00:25:51 +00:00
parent f37a09a9e6
commit fad2c0c8a1
3 changed files with 11 additions and 11 deletions

View File

@@ -135,8 +135,8 @@ describe("/focus, /unfocus, /agents", () => {
beforeEach(() => {
resetSubagentRegistryForTests();
hoisted.callGatewayMock.mockReset();
hoisted.getThreadBindingManagerMock.mockReset();
hoisted.resolveThreadBindingThreadNameMock.mockReset().mockReturnValue("🤖 codex");
hoisted.getThreadBindingManagerMock.mockClear().mockReturnValue(null);
hoisted.resolveThreadBindingThreadNameMock.mockClear().mockReturnValue("🤖 codex");
});
it("/focus resolves ACP sessions and binds the current Discord thread", async () => {