Skip to content

Commit

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

const resultString = '<mention-here>@here</mention-here>'
+ ' <em><mention-here>@here</mention-here></em>'
Expand All @@ -1284,6 +1284,7 @@ test('Test for @here mention with italic, bold and strikethrough styles', () =>
+ ' @here_123'
+ ' @here_abc'
+ ' @here123'
+ ' @herex'
+ ' @hereabc'
+ ' <mention-here>@here</mention-here> abc'
+ ' <mention-here>@here</mention-here>*'
Expand All @@ -1295,8 +1296,7 @@ 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>?'
+ ' @herex';
+ ' <mention-here>@here</mention-here>?';
expect(parser.replace(testString)).toBe(resultString);
});

Expand Down

0 comments on commit 26ebb2b

Please sign in to comment.