From fbe4d73051f72f6ff41d9dc9f6afac5319e81df0 Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Fri, 14 Aug 2026 23:57:02 -0700 Subject: [PATCH] test: type the WebSocket mock to satisfy docker-build tsc strictness --- web/src/lib/pty-keyboard-shortcuts.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/lib/pty-keyboard-shortcuts.test.ts b/web/src/lib/pty-keyboard-shortcuts.test.ts index ad645f05c8..34b311b5c0 100644 --- a/web/src/lib/pty-keyboard-shortcuts.test.ts +++ b/web/src/lib/pty-keyboard-shortcuts.test.ts @@ -50,7 +50,7 @@ describe('sendPtyShortcutSequence', () => { const socket = (readyState: number = WebSocket.OPEN) => ({ readyState, send: vi.fn(), - }) + }) as unknown as Pick & { send: ReturnType } it('sends the sequence when the socket and PTY state are open', () => { const ws = socket()