summaryrefslogtreecommitdiff
path: root/deps/npm/test/tap/bitbucket-https-url-with-creds-package.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/test/tap/bitbucket-https-url-with-creds-package.js')
-rw-r--r--deps/npm/test/tap/bitbucket-https-url-with-creds-package.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/deps/npm/test/tap/bitbucket-https-url-with-creds-package.js b/deps/npm/test/tap/bitbucket-https-url-with-creds-package.js
index 4891b9886b..f0f14dcb34 100644
--- a/deps/npm/test/tap/bitbucket-https-url-with-creds-package.js
+++ b/deps/npm/test/tap/bitbucket-https-url-with-creds-package.js
@@ -5,10 +5,7 @@ const BB = require('bluebird')
var fs = require('graceful-fs')
var path = require('path')
-var mkdirp = require('mkdirp')
-var osenv = require('osenv')
var requireInject = require('require-inject')
-var rimraf = require('rimraf')
var test = require('tap').test
var common = require('../common-tap.js')
@@ -64,22 +61,10 @@ test('bitbucket-https-url-with-creds-package', function (t) {
})
})
-test('cleanup', function (t) {
- cleanup()
- t.end()
-})
-
function setup () {
- cleanup()
- mkdirp.sync(pkg)
fs.writeFileSync(
path.join(pkg, 'package.json'),
JSON.stringify(json, null, 2)
)
process.chdir(pkg)
}
-
-function cleanup () {
- process.chdir(osenv.tmpdir())
- rimraf.sync(pkg)
-}