summaryrefslogtreecommitdiff
path: root/deps/npm/test/tap/npm-api-not-loaded-error.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/test/tap/npm-api-not-loaded-error.js')
-rw-r--r--deps/npm/test/tap/npm-api-not-loaded-error.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/deps/npm/test/tap/npm-api-not-loaded-error.js b/deps/npm/test/tap/npm-api-not-loaded-error.js
index 48b71e5213..8bf2635038 100644
--- a/deps/npm/test/tap/npm-api-not-loaded-error.js
+++ b/deps/npm/test/tap/npm-api-not-loaded-error.js
@@ -1,8 +1,9 @@
var test = require('tap').test
+const common = require('../common-tap.js')
var npm = require('../..')
var path = require('path')
var rimraf = require('rimraf')
-var npmrc = path.join(__dirname, 'npmrc')
+var npmrc = path.join(common.pkg, 'npmrc')
var fs = require('fs')
test('setup', function (t) {