From 52a0968092476344acbb9325a9204e37d4b4dd32 Mon Sep 17 00:00:00 2001 From: BigBodyCobain <43977454+BigBodyCobain@users.noreply.github.com> Date: Fri, 12 Jun 2026 02:21:25 -0600 Subject: [PATCH] Fix MessagesView first-contact test for allowLegacyAgentId lookup option. fetchDmPublicKey now passes allowLegacyAgentId: false for short-address contact requests; update the assertion to match the new call signature. Co-authored-by: Cursor --- frontend/src/__tests__/mesh/messagesViewFirstContact.test.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/__tests__/mesh/messagesViewFirstContact.test.tsx b/frontend/src/__tests__/mesh/messagesViewFirstContact.test.tsx index 85f01a8..da44a06 100644 --- a/frontend/src/__tests__/mesh/messagesViewFirstContact.test.tsx +++ b/frontend/src/__tests__/mesh/messagesViewFirstContact.test.tsx @@ -725,6 +725,7 @@ describe('MessagesView first-contact trust UX', () => { 'http://localhost:8000', '', 'f0eee9e9ccf849bcb2d86c0d7a1e0669c75be4e05533b0f6c67', + { allowLegacyAgentId: false }, ); expect(mocks.sendOffLedgerConsentMessage).toHaveBeenCalled(); expect(screen.queryByText(/Unexpected number in JSON/i)).not.toBeInTheDocument();