summaryrefslogtreecommitdiff
path: root/deps/npm/test/tap/gently-rm-symlink.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/test/tap/gently-rm-symlink.js')
-rw-r--r--deps/npm/test/tap/gently-rm-symlink.js22
1 files changed, 11 insertions, 11 deletions
diff --git a/deps/npm/test/tap/gently-rm-symlink.js b/deps/npm/test/tap/gently-rm-symlink.js
index ff1524b04..d69b62e5b 100644
--- a/deps/npm/test/tap/gently-rm-symlink.js
+++ b/deps/npm/test/tap/gently-rm-symlink.js
@@ -15,6 +15,17 @@ var EXEC_OPTS = {
cwd : pkg
}
+
+var index = "module.exports = function () { console.log('whoop whoop') }"
+
+var fixture = {
+ name: "@test/linked",
+ version: "1.0.0",
+ bin: {
+ linked: "./index.js"
+ }
+}
+
test("setup", function (t) {
cleanup()
setup()
@@ -72,17 +83,6 @@ test("cleanup", function (t) {
t.end()
})
-
-var index = "module.exports = function () { console.log('whoop whoop') }"
-
-var fixture = {
- name: "@test/linked",
- version: "1.0.0",
- bin: {
- linked: "./index.js"
- }
-}
-
function verify (t, stdout) {
var binPath = resolve(lnk, "bin", "linked")
var pkgPath = resolve(lnk, "lib", "node_modules", "@test", "linked")