From a371bc1dec3f255d16d80a67e8ad1a31b71dea18 Mon Sep 17 00:00:00 2001 From: Jinwoo-H Date: Mon, 7 Sep 2026 14:48:32 -0400 Subject: [PATCH] test(mobile): declare onCutoverFailure on the direct-probe fixture overrides --- mobile/src/transport/mobile-direct-return-probe.test.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mobile/src/transport/mobile-direct-return-probe.test.ts b/mobile/src/transport/mobile-direct-return-probe.test.ts index f95c9bc02e7..387d2f59572 100644 --- a/mobile/src/transport/mobile-direct-return-probe.test.ts +++ b/mobile/src/transport/mobile-direct-return-probe.test.ts @@ -7,7 +7,11 @@ vi.mock('react-native', () => ({ Platform: { OS: 'ios' } })) // A LAN that never answers: every dial sits open until the probe's own 12s budget. function fixture( - overrides: { migrate?: () => Promise; adoptsOutright?: () => boolean } = {} + overrides: { + migrate?: () => Promise + adoptsOutright?: () => boolean + onCutoverFailure?: (error: Error) => void + } = {} ) { const opened: FakeSession[] = [] const cutoverFailures: Error[] = []