diff options
Diffstat (limited to 'deps/npm/test/tap/outdated-remote.js')
-rw-r--r-- | deps/npm/test/tap/outdated-remote.js | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/deps/npm/test/tap/outdated-remote.js b/deps/npm/test/tap/outdated-remote.js index b3990a382c..e6cbd0e8ac 100644 --- a/deps/npm/test/tap/outdated-remote.js +++ b/deps/npm/test/tap/outdated-remote.js @@ -8,7 +8,7 @@ const common = require('../common-tap.js') const basedir = common.pkg const testdir = path.join(basedir, 'testdir') -const cachedir = path.join(basedir, 'cache') +const cachedir = common.cache const globaldir = path.join(basedir, 'global') const tmpdir = path.join(basedir, 'tmp') @@ -54,14 +54,9 @@ const fixture = new Tacks(Dir({ })) function setup () { - cleanup() fixture.create(basedir) } -function cleanup () { - fixture.remove(basedir) -} - test('setup', t => { setup() return common.fakeRegistry.listen() @@ -90,6 +85,5 @@ test('discovers new versions in outdated', t => { test('cleanup', t => { common.fakeRegistry.close() - cleanup() t.done() }) |