mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-06-25 23:39:57 +02:00
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 <cursoragent@cursor.com>
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user