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
path: root/test
diff options
context:
space:
mode:
authorRebecca Turner <me@re-becca.org>2015-10-15 21:38:38 +0300
committerRebecca Turner <me@re-becca.org>2015-10-22 01:19:47 +0300
commit842965e97a70d1df25d0ab81998dbb8cc6e133fa (patch)
treedf8e8359a7054c247e7707ca51735534fe588e0b /test
parent4499e01c52ccf87efbb21f25d272310681ab0fd9 (diff)
test: clear npm user agent to eliminate false positive in installable check
PR-URL: https://github.com/npm/npm/pull/9982
Diffstat (limited to 'test')
-rw-r--r--test/run.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/run.js b/test/run.js
index 142facf03..24c7a31da 100644
--- a/test/run.js
+++ b/test/run.js
@@ -49,6 +49,7 @@ env.npm_config_npat = 'false'
env.PATH = pathEnv.join(pathEnvSplit)
env.NODE_PATH = path.join(root, 'node_modules')
env.npm_config_cache = cache
+env.npm_config_user_agent = ''
function cleanup (cb) {
if (failures !== 0) return