Skip to content

Commit

Permalink
updated test
Browse files Browse the repository at this point in the history
  • Loading branch information
FitseTLT committed Aug 26, 2024
1 parent 1ff03d1 commit 5d46366
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions __tests__/ExpensiMark-HTMLToText-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,11 @@ test('Mention user html to text', () => {

testString = '<mention-user accountID="1234" />';
expect(parser.htmlToText(testString, extras)).toBe('@[email protected]');

extras.accountIDToName['1234'] = '[email protected]';
testString = '<mention-user accountID="1234"/>';
expect(parser.htmlToText(testString, extras)).toBe('@+251924892738');

});

test('Mention report html to text', () => {
Expand Down

0 comments on commit 5d46366

Please sign in to comment.