Skip to content

Commit 16692aa

Browse files
committed
fix: add missing tmux mock exports in integration test
Add setWindowOption and killTaggedWindows to the tmux mock in z-workflows.test.ts to match the new exports.
1 parent 32d3207 commit 16692aa

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/integration/z-workflows.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ mock.module('../../src/lib/tmux', () => ({
107107
windowExists: vi.fn(async () => true),
108108
getPanePid: vi.fn(async () => 12345),
109109
captureExitStatus: vi.fn(async () => undefined),
110+
setWindowOption: vi.fn(async () => {}),
111+
killTaggedWindows: vi.fn(async () => 0),
110112
}));
111113

112114
mock.module('../../src/lib/config', () => ({

0 commit comments

Comments
 (0)