From 7a3a0a031ccf7280375d1a502ac0418da4b6b4d1 Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Sun, 17 May 2026 17:21:35 +0900 Subject: [PATCH] test(tmux): ignore unrelated pane runner mock calls Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- src/shared/tmux/tmux-utils/pane-close-runner.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/shared/tmux/tmux-utils/pane-close-runner.test.ts b/src/shared/tmux/tmux-utils/pane-close-runner.test.ts index 63a7f53cf..164daf9e8 100644 --- a/src/shared/tmux/tmux-utils/pane-close-runner.test.ts +++ b/src/shared/tmux/tmux-utils/pane-close-runner.test.ts @@ -59,7 +59,8 @@ describe("closeTmuxPane runner integration", () => { // then expect(result).toBe(true) - expect(runTmuxCommandMock.mock.calls).toEqual([ + const paneCloseCalls = runTmuxCommandMock.mock.calls.filter((call: [string, string[]]) => call[1].includes("%42")) + expect(paneCloseCalls).toEqual([ ["sh", ["send-keys", "-t", "%42", "C-c"]], ["sh", ["kill-pane", "-t", "%42"]], ])