test(mobile): declare onCutoverFailure on the direct-probe fixture overrides

This commit is contained in:
Jinwoo-H
2026-09-07 14:48:32 -04:00
parent 6404b3d461
commit a371bc1dec
@@ -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<void>; adoptsOutright?: () => boolean } = {}
overrides: {
migrate?: () => Promise<void>
adoptsOutright?: () => boolean
onCutoverFailure?: (error: Error) => void
} = {}
) {
const opened: FakeSession[] = []
const cutoverFailures: Error[] = []