Skip to content

Commit

Permalink
Bump expensify-common to 2.0.12 (#384)
Browse files Browse the repository at this point in the history
  • Loading branch information
nkdengineer authored Jun 13, 2024
1 parent 457a90c commit 52d2232
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 23 deletions.
8 changes: 6 additions & 2 deletions parser/__tests__/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}]);
});
});

Expand Down
2 changes: 1 addition & 1 deletion parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"typescript": "^5.3.3"
},
"dependencies": {
"expensify-common": "2.0.10",
"expensify-common": "2.0.12",
"underscore": "^1.13.6"
}
}
Loading

0 comments on commit 52d2232

Please sign in to comment.