summaryrefslogtreecommitdiff
path: root/deps/npm/test/tap/access.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/test/tap/access.js')
-rw-r--r--deps/npm/test/tap/access.js28
1 files changed, 12 insertions, 16 deletions
diff --git a/deps/npm/test/tap/access.js b/deps/npm/test/tap/access.js
index db03cbfc9e..2998bbf63b 100644
--- a/deps/npm/test/tap/access.js
+++ b/deps/npm/test/tap/access.js
@@ -19,22 +19,18 @@ const scoped = {
}
test('setup', function (t) {
- mkdirp(pkg, function (er) {
- t.ifError(er, pkg + ' made successfully')
-
- mr({port: common.port}, function (err, s) {
- t.ifError(err, 'registry mocked successfully')
- server = s
-
- fs.writeFile(
- path.join(pkg, 'package.json'),
- JSON.stringify(scoped),
- function (er) {
- t.ifError(er, 'wrote package.json')
- t.end()
- }
- )
- })
+ mr({port: common.port}, function (err, s) {
+ t.ifError(err, 'registry mocked successfully')
+ server = s
+
+ fs.writeFile(
+ path.join(pkg, 'package.json'),
+ JSON.stringify(scoped),
+ function (er) {
+ t.ifError(er, 'wrote package.json')
+ t.end()
+ }
+ )
})
})