diff --git a/test/unit/utils/url.test.js b/test/unit/utils/url.test.js index 30711ae322..4e2ed9aba7 100644 --- a/test/unit/utils/url.test.js +++ b/test/unit/utils/url.test.js @@ -79,8 +79,6 @@ test('isCrossOrigin can identify cross origin urls', function() { 'global/window': win }); - ok(Url.isCrossOrigin, 'we export a isCrossOrigin function'); - win.location.protocol = window.location.protocol; win.location.host = window.location.host; ok(!Url.isCrossOrigin(`http://${win.location.host}/example.vtt`), 'http://google.com from http://google.com is not cross origin');