Skip to content

Commit

Permalink
Bump expensify-common version to support phone number mentions (#339)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertKozik authored May 6, 2024
1 parent 31d7790 commit 49db6e0
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 15 deletions.
4 changes: 4 additions & 0 deletions parser/__tests__/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand Down
2 changes: 1 addition & 1 deletion parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"typescript": "^5.3.3"
},
"dependencies": {
"expensify-common": "Expensify/expensify-common#9a68635cdcef4c81593c0f816a007bc9c707d46a",
"expensify-common": "Expensify/expensify-common#1713f28214f0e7176c4fd13433fb0ea15491ebf9",
"patch-package": "^8.0.0",
"underscore": "^1.13.6"
}
Expand Down
Loading

0 comments on commit 49db6e0

Please sign in to comment.