test,benchmark: stop requiring URL and URLSearchParams

Since the URL and URLSearchParams classes are available in the
global object, there is no need to require them from 'url'.

PR-URL: https://github.com/nodejs/node/pull/36927
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
This commit is contained in:
raisinten authored and Michaël Zasso committed 2021-05-01 12:24:58 +02:00
1 parent e72b2b4639
commit 98f08c06e4
44 files changed
-45

No files matched your search

@@ -32,8 +32,6 @@ const assert = require('assert');
const https = require('https');
const url = require('url');
const URL = url.URL;
const options = {
key: fixtures.readKey('agent1-key.pem'),
cert: fixtures.readKey('agent1-cert.pem')