-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump expensify-common version to support phone number mentions (#339)
- Loading branch information
1 parent
31d7790
commit 49db6e0
Showing
4 changed files
with
19 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,6 +75,10 @@ describe('mention-user', () => { | |
test('with punctation marks', () => { | ||
expect('@[email protected]!').toBeParsedAs([{type: 'mention-user', start: 0, length: 14}]); | ||
}); | ||
|
||
test('with phone number', () => { | ||
expect('@+1234567890 Hello!').toBeParsedAs([{type: 'mention-user', start: 0, length: 12}]); | ||
}); | ||
}); | ||
|
||
test('plain link', () => { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.