From 38e013d0075be5d1ffb71f06324d3b911ff97ff5 Mon Sep 17 00:00:00 2001 From: Forrest L Norvell Date: Thu, 26 Feb 2015 13:49:11 -0800 Subject: test: override globalconfig setting for test --- test/common-tap.js | 1 + 1 file changed, 1 insertion(+) (limited to 'test/common-tap.js') 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") -- cgit v1.2.3