diff --git a/__tests__/ExpensiMark-HTML-test.js b/__tests__/ExpensiMark-HTML-test.js index f774b737..763df5b6 100644 --- a/__tests__/ExpensiMark-HTML-test.js +++ b/__tests__/ExpensiMark-HTML-test.js @@ -1844,9 +1844,15 @@ describe('when should keep raw input flag is enabled', () => { expect(parser.replace(testString, {shouldKeepRawInput: true})).toBe(resultString); }); - test('user mention from phone number', () => { + test('user mention from invalid phone number', () => { const testString = '@+1234567890'; - const resultString = '@+1234567890'; + const resultString = '@+1234567890'; + expect(parser.replace(testString, {shouldKeepRawInput: true})).toBe(resultString); + }); + + test('user mention from valid phone number', () => { + const testString = '@+15005550006'; + const resultString = '@+15005550006'; expect(parser.replace(testString, {shouldKeepRawInput: true})).toBe(resultString); }); });