Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzhaoxuxu <zhaoxuxujc@gmail.com>2020-09-18 13:21:07 +0300
committerisaacs <i@izs.me>2020-09-30 22:14:35 +0300
commit3b417055cf07c4ef8e4c5063f00d3c24b5f5cbd2 (patch)
treea506afd424701db1580ffee6fca3bab52a8028b6 /tap-snapshots
parentfef2646347bbb8ccfa9239cc9d99debae002552b (diff)
add proxy
PR-URL: https://github.com/npm/cli/pull/1859 Credit: @badeggg Close: #1859 Reviewed-by: @isaacs EDIT: changed flatOptions.noproxy to flatOptions.noProxy, since make-fetch-happen reads it from the camel-cased property.
Diffstat (limited to 'tap-snapshots')
-rw-r--r--tap-snapshots/test-lib-utils-flat-options.js-TAP.test.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/tap-snapshots/test-lib-utils-flat-options.js-TAP.test.js b/tap-snapshots/test-lib-utils-flat-options.js-TAP.test.js
index 0e7b7c33e..cd41d33cb 100644
--- a/tap-snapshots/test-lib-utils-flat-options.js-TAP.test.js
+++ b/tap-snapshots/test-lib-utils-flat-options.js-TAP.test.js
@@ -66,6 +66,7 @@ Object {
"metricsRegistry": "metrics-registry",
"nodeBin": "/path/to/some/node",
"nodeVersion": "1.2.3",
+ "noProxy": "noproxy",
"npmBin": "/path/to/npm/bin.js",
"npmCommand": null,
"npmSession": "12345",
@@ -83,6 +84,7 @@ Object {
"prefix": "/path/to/npm/cli",
"preid": "preid",
"projectScope": "@npmcli",
+ "proxy": "proxy",
"readOnly": "read-only",
"rebuildBundle": "rebuild-bundle",
"registry": "registry",