Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f27e003

Browse filesBrowse files
daeyeondanielleadams
authored andcommitted
test: fix internet/test-inspector-help-page
This gets the test to use its own `https.agent` instead of the default one. Signed-off-by: Daeyeon Jeong daeyeon.dev@gmail.com PR-URL: #44025 Refs: #43522 Refs: https://github.com/nodejs/node/actions/workflows/test-internet.yml Reviewed-By: Paolo Insogna <paolo@cowtech.it> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
1 parent f882318 commit f27e003
Copy full SHA for f27e003

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎test/internet/test-inspector-help-page.js‎

Copy file name to clipboardExpand all lines: test/internet/test-inspector-help-page.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const stderr = child.stderr.toString();
1414
const helpUrl = stderr.match(/For help, see: (.+)/)[1];
1515

1616
function check(url, cb) {
17-
https.get(url, common.mustCall((res) => {
17+
https.get(url, { agent: new https.Agent() }, common.mustCall((res) => {
1818
assert(res.statusCode >= 200 && res.statusCode < 400);
1919

2020
if (res.statusCode >= 300)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.