Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2019-07-01 08:27:21 +0300
committerisaacs <i@izs.me>2019-07-01 08:27:42 +0300
commit828c21d4b3b0e5a11ad83311512d8ffc2484ac2c (patch)
treefe81d95195fe6e755f459dcb4310501dbbc2f82f /test
parente36b3c3203e113959366c9cc8bba580a63ce0a9c (diff)
test: use common.pkg basedir in newly added test
Missed this on the review. Minor nit, not worth rebasing, now that the release is almost ready to ship.
Diffstat (limited to 'test')
-rw-r--r--test/tap/outdated-remote.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tap/outdated-remote.js b/test/tap/outdated-remote.js
index a7fe27ea0..b3990a382 100644
--- a/test/tap/outdated-remote.js
+++ b/test/tap/outdated-remote.js
@@ -6,7 +6,7 @@ const File = Tacks.File
const Dir = Tacks.Dir
const common = require('../common-tap.js')
-const basedir = path.join(__dirname, path.basename(__filename, '.js'))
+const basedir = common.pkg
const testdir = path.join(basedir, 'testdir')
const cachedir = path.join(basedir, 'cache')
const globaldir = path.join(basedir, 'global')