Fix NoteContent test

This commit is contained in:
Alex Gleason 2025-06-01 11:12:35 -05:00
parent 130300f1c1
commit aa1e2145d0
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7

View File

@ -131,6 +131,6 @@ describe('NoteContent', () => {
// The text should start with @ and contain a generated name (not a truncated npub) // The text should start with @ and contain a generated name (not a truncated npub)
const linkText = mention.textContent; const linkText = mention.textContent;
expect(linkText).not.toMatch(/^@npub1/); // Should not be a truncated npub expect(linkText).not.toMatch(/^@npub1/); // Should not be a truncated npub
expect(linkText).toEqual("@SwiftFalcon"); expect(linkText).toEqual("@Swift Falcon");
}); });
}); });