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 Ruy Adorno committed 2021-01-24 21:43:34 -05:00
1 parent 2f1f1dadaa
commit fada6b0087
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')