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:
@@ -59,7 +59,8 @@ describe("closeTmuxPane runner integration", () => {
|
|||||||
|
|
||||||
// then
|
// then
|
||||||
expect(result).toBe(true)
|
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", ["send-keys", "-t", "%42", "C-c"]],
|
||||||
["sh", ["kill-pane", "-t", "%42"]],
|
["sh", ["kill-pane", "-t", "%42"]],
|
||||||
])
|
])
|
||||||
|
|||||||
Reference in New Issue
Block a user