chore: Fix types in tests 15/N.

This commit is contained in:
cpojer
2026-02-17 11:59:17 +09:00
parent db3529e924
commit a76a9c375f
7 changed files with 75 additions and 59 deletions

View File

@@ -12,15 +12,14 @@ const dispatchInboundMessageMock = vi.fn(
vi.mock("./send.js", () => ({
sendMessageSignal: vi.fn(),
sendTypingSignal: (...args: unknown[]) => sendTypingMock(...args),
sendReadReceiptSignal: (...args: unknown[]) => sendReadReceiptMock(...args),
sendTypingSignal: sendTypingMock,
sendReadReceiptSignal: sendReadReceiptMock,
}));
vi.mock("../auto-reply/dispatch.js", () => ({
dispatchInboundMessage: (...args: unknown[]) => dispatchInboundMessageMock(...args),
dispatchInboundMessageWithDispatcher: (...args: unknown[]) => dispatchInboundMessageMock(...args),
dispatchInboundMessageWithBufferedDispatcher: (...args: unknown[]) =>
dispatchInboundMessageMock(...args),
dispatchInboundMessage: dispatchInboundMessageMock,
dispatchInboundMessageWithDispatcher: dispatchInboundMessageMock,
dispatchInboundMessageWithBufferedDispatcher: dispatchInboundMessageMock,
}));
vi.mock("../pairing/pairing-store.js", () => ({