summaryrefslogtreecommitdiff
path: root/deps/npm/test/tap/add-remote-git-file.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/test/tap/add-remote-git-file.js')
-rw-r--r--deps/npm/test/tap/add-remote-git-file.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/deps/npm/test/tap/add-remote-git-file.js b/deps/npm/test/tap/add-remote-git-file.js
index b2a7be903..673be4c28 100644
--- a/deps/npm/test/tap/add-remote-git-file.js
+++ b/deps/npm/test/tap/add-remote-git-file.js
@@ -16,6 +16,11 @@ var repo = resolve(__dirname, 'add-remote-git-file-repo')
var git
var cloneURL = 'git+file://' + resolve(pkg, 'child.git')
+var pjChild = JSON.stringify({
+ name: 'child',
+ version: '1.0.3'
+}, null, 2) + '\n'
+
test('setup', function (t) {
bootstrap()
setup(function (er, r) {
@@ -45,11 +50,6 @@ test('clean', function (t) {
t.end()
})
-var pjChild = JSON.stringify({
- name: 'child',
- version: '1.0.3'
-}, null, 2) + '\n'
-
function bootstrap () {
cleanup()
mkdirp.sync(pkg)