mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2025-08-27 04:59:22 +00:00
Fix NoteContent test
This commit is contained in:
parent
130300f1c1
commit
aa1e2145d0
@ -131,6 +131,6 @@ describe('NoteContent', () => {
|
||||
// The text should start with @ and contain a generated name (not a truncated npub)
|
||||
const linkText = mention.textContent;
|
||||
expect(linkText).not.toMatch(/^@npub1/); // Should not be a truncated npub
|
||||
expect(linkText).toEqual("@SwiftFalcon");
|
||||
expect(linkText).toEqual("@Swift Falcon");
|
||||
});
|
||||
});
|
Loading…
x
Reference in New Issue
Block a user