From ee5123af687d9b872506dbd811787f9743290c79 Mon Sep 17 00:00:00 2001 From: archipelago Date: Sun, 30 Aug 2026 10:18:02 -0400 Subject: [PATCH] test(ui): satisfy strict build indexing --- .../src/composables/__tests__/useIbdFinishWatcher.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neode-ui/src/composables/__tests__/useIbdFinishWatcher.test.ts b/neode-ui/src/composables/__tests__/useIbdFinishWatcher.test.ts index 7fb12782..ffbb6660 100644 --- a/neode-ui/src/composables/__tests__/useIbdFinishWatcher.test.ts +++ b/neode-ui/src/composables/__tests__/useIbdFinishWatcher.test.ts @@ -97,7 +97,7 @@ describe('useIbdFinishWatcher', () => { await completeSync() expect(state.toastAction).toHaveBeenCalledTimes(1) - const [message, opts] = state.toastAction.mock.calls[0] + const [message, opts] = state.toastAction.mock.calls[0]! expect(message).toBe( "Bitcoin is fully synced — next, install Lightning (LND) to get your node's on-chain wallet.", ) @@ -115,7 +115,7 @@ describe('useIbdFinishWatcher', () => { await completeSync() expect(state.toastAction).toHaveBeenCalledTimes(1) - const [message, opts] = state.toastAction.mock.calls[0] + const [message, opts] = state.toastAction.mock.calls[0]! expect(message).toBe( 'Bitcoin is fully synced — you can now fund your wallet and open your Lightning channel.', )