Skip to content

Commit

Permalink
Add failing isUrl tests
Browse files Browse the repository at this point in the history
  • Loading branch information
puckey committed Aug 3, 2021
1 parent ba9a9ed commit 934e4af
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/utils/src/string/isUrl.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ describe('isUrl()', () => {
'http://foo--bar.com',
'http://xn--j1aac5a4g.xn--j1amh',
'http://xn------eddceddeftq7bvv7c4ke4c.xn--p1ai',
'test.com?ref=http://test2.com'
'test.com?ref=http://test2.com',
'foobar.xn--vermgensberatung-pwb', // longest tld as of August 2021
'foobar.northwesternmutual' // longest tld without xn-- as of August 2021
// TODO: Support unicode URLs
// 'http://høyfjellet.no',
// 'http://кулік.укр',
Expand Down

0 comments on commit 934e4af

Please sign in to comment.