summaryrefslogtreecommitdiff
path: root/deps/npm/test/tap/check-install-self.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/test/tap/check-install-self.js')
-rw-r--r--deps/npm/test/tap/check-install-self.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/deps/npm/test/tap/check-install-self.js b/deps/npm/test/tap/check-install-self.js
index e7591b55e0..63901a12df 100644
--- a/deps/npm/test/tap/check-install-self.js
+++ b/deps/npm/test/tap/check-install-self.js
@@ -2,9 +2,7 @@
var path = require('path')
var fs = require('fs')
var test = require('tap').test
-var osenv = require('osenv')
var mkdirp = require('mkdirp')
-var rimraf = require('rimraf')
var common = require('../common-tap.js')
var base = common.pkg
@@ -43,18 +41,7 @@ test('force install self', function (t) {
})
})
-test('cleanup', function (t) {
- cleanup()
- t.end()
-})
-
-function cleanup () {
- process.chdir(osenv.tmpdir())
- rimraf.sync(base)
-}
-
function setup () {
- cleanup()
mkdirp.sync(path.resolve(installFrom, 'node_modules'))
fs.writeFileSync(
path.join(installFrom, 'package.json'),