Skip to content

Commit

Permalink
bump: package version + added twitter test case for x.com
Browse files Browse the repository at this point in the history
  • Loading branch information
hortopan committed May 17, 2024
1 parent 4d5ea53 commit 673adf8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@editorjs/embed",
"version": "2.7.1",
"version": "2.7.2",
"keywords": [
"codex editor",
"embed",
Expand Down
4 changes: 4 additions & 0 deletions test/services.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,10 @@ describe('Services Regexps', () => {
source: 'https://twitter.com/codex_team/status/1202295536826630145?s=20&t=wrY8ei5GBjbbmNonrEm2kQ',
embed: 'https://platform.twitter.com/embed/Tweet.html?id=1202295536826630145'
},
{
source: 'https://x.com/codex_team/status/1202295536826630145',
embed: 'https://platform.twitter.com/embed/Tweet.html?id=1202295536826630145'
},
];

urls.forEach(url => {
Expand Down

0 comments on commit 673adf8

Please sign in to comment.