Skip to content

Commit

Permalink
Merge branch 'develop' into hotfix/CXSPA-1128
Browse files Browse the repository at this point in the history
  • Loading branch information
RadhepS authored Oct 22, 2024
2 parents a5c04bb + e083075 commit 93c5f69
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,8 @@ describe('UrlUtils', () => {
expect(isHttpOrHttps(new URL('http://www.google.com/'))).toBeTruthy();
});

it('should return false for data: protocol', () => {
expect(
isHttpOrHttps(new URL('data://data:text/plain,some%20data/'))
).toBeFalsy();
it('should return false for non http-based protocol', () => {
expect(isHttpOrHttps(new URL('ws://example.com'))).toBeFalsy();
});
});
});

0 comments on commit 93c5f69

Please sign in to comment.