mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2026-12-05 08:23:35 +00:00
Fix NoteContent test
This commit is contained in:
1 file changed
+1
-1
@@ -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");
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user