Skip to content

Commit

Permalink
chore(map-to-registry): Ensure env does not pollute config resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
evocateur committed Sep 14, 2018
1 parent ea41470 commit 21aa430
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions utils/map-to-registry/__tests__/map-to-registry.test.js
Expand Up @@ -3,6 +3,9 @@
const npmConf = require("@lerna/npm-conf");
const mapToRegistry = require("..");

// override value provided by set-npm-userconfig, ensuring blank slate
process.env.npm_config_userconfig = __dirname;

describe("@lerna/map-to-registry", () => {
describe("uri", () => {
test("package name", () => {
Expand Down

0 comments on commit 21aa430

Please sign in to comment.