Skip to content

Commit

Permalink
test: remove deletion of npm_config_cache
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jun 22, 2022
1 parent 8c8a3f8 commit 2ba13f7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions spec/config-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ const temp = require("temp")
import * as apm from "../lib/apm-cli"

describe("apm config", function () {
let [atomHome, userConfigPath] = Array.from([])
let atomHome
let userConfigPath

beforeEach(function () {
spyOnToken()
Expand All @@ -20,8 +21,8 @@ describe("apm config", function () {
process.env.ATOM_HOME = atomHome
userConfigPath = path.join(atomHome, ".apmrc")

// Make sure the cache used is the one for the test env
return delete process.env.npm_config_cache
// // Make sure the cache used is the one for the test env
// delete process.env.npm_config_cache
})

describe("apm config get", () =>
Expand Down

0 comments on commit 2ba13f7

Please sign in to comment.