Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: qunit/tests/url.js

Issue 29713631: Issue 5760 - Use relative require paths (Closed)
Patch Set: Address PS2 comments, rebase Created March 30, 2018, 3:09 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « qunit/tests/prefs.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « qunit/tests/prefs.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld