Skip to content

Commit

Permalink
add herex test
Browse files Browse the repository at this point in the history
  • Loading branch information
Skalakid committed Nov 14, 2023
1 parent 2461a6e commit 7784f71
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions __tests__/ExpensiMark-HTML-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1273,7 +1273,8 @@ test('Test for @here mention with italic, bold and strikethrough styles', () =>
+ ' @here('
+ ' @here.'
+ ' @here!'
+ ' @here?';
+ ' @here?'
+ ' @herex';

const resultString = '<mention-here>@here</mention-here>'
+ ' <em><mention-here>@here</mention-here></em>'
Expand All @@ -1294,7 +1295,8 @@ test('Test for @here mention with italic, bold and strikethrough styles', () =>
+ ' <mention-here>@here</mention-here>('
+ ' <mention-here>@here</mention-here>.'
+ ' <mention-here>@here</mention-here>!'
+ ' <mention-here>@here</mention-here>?';
+ ' <mention-here>@here</mention-here>?'
+ ' @herex';
expect(parser.replace(testString)).toBe(resultString);
});

Expand Down

0 comments on commit 7784f71

Please sign in to comment.