test(tmux): ignore unrelated pane runner mock calls

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
YeonGyu-Kim
2026-05-17 17:21:35 +09:00
parent 0f92d2c98d
commit 7a3a0a031c
@@ -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"]],
])