mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
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:
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')
|
||||
|
||||
Reference in new issue
Block a user