Index: qunit/tests/url.js |
=================================================================== |
--- a/qunit/tests/url.js |
+++ b/qunit/tests/url.js |
@@ -16,17 +16,17 @@ |
*/ |
"use strict"; |
{ |
let {getDecodedHostname, |
extractHostFromFrame, |
stringifyURL, |
- isThirdParty} = require("url"); |
+ isThirdParty} = require("../../lib/url"); |
QUnit.module("URL/host tools"); |
test("Extracting hostname from URL", () => |
{ |
function testURLHostname(url, expectedHostname, message) |
{ |
equal(getDecodedHostname(new URL(url)), expectedHostname, message); |