-
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 to 2.0.12 (#384)
- Loading branch information
1 parent
457a90c
commit 52d2232
Showing
4 changed files
with
27 additions
and
23 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 |
---|---|---|
|
@@ -76,8 +76,12 @@ describe('mention-user', () => { | |
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('with invalid phone number', () => { | ||
expect('@+1234567890 Hello!').toBeParsedAs([]); | ||
}); | ||
|
||
test('with valid phone number', () => { | ||
expect('@+15005550006 Hello!').toBeParsedAs([{type: 'mention-user', start: 0, length: 13}]); | ||
}); | ||
}); | ||
|
||
|
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.