diff options
author | Forrest L Norvell <forrest@npmjs.com> | 2015-02-27 00:49:11 +0300 |
---|---|---|
committer | Forrest L Norvell <forrest@npmjs.com> | 2015-02-27 00:49:11 +0300 |
commit | 38e013d0075be5d1ffb71f06324d3b911ff97ff5 (patch) | |
tree | 71d1b8f09d5ab44ccd69a1be4ea616024dfa0786 /test/common-tap.js | |
parent | df1bbd93f755c08d6bb7c4d046c9edba890eb43d (diff) |
test: override globalconfig setting for test
Diffstat (limited to 'test/common-tap.js')
-rw-r--r-- | test/common-tap.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/common-tap.js b/test/common-tap.js index 403670828..b33d3cb16 100644 --- a/test/common-tap.js +++ b/test/common-tap.js @@ -8,6 +8,7 @@ process.env.npm_config_loglevel = "error" var npm_config_cache = path.resolve(__dirname, "npm_cache") process.env.npm_config_cache = exports.npm_config_cache = npm_config_cache process.env.npm_config_userconfig = exports.npm_config_userconfig = path.join(__dirname, "fixtures", "config", "userconfig") +process.env.npm_config_globalconfig = exports.npm_config_globalconfig = path.join(__dirname, "fixtures", "config", "globalconfig") process.env.random_env_var = "foo" var bin = exports.bin = require.resolve("../bin/npm-cli.js") |