summaryrefslogtreecommitdiff
path: root/deps/npm/test/tap/registry.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/test/tap/registry.js')
-rw-r--r--deps/npm/test/tap/registry.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/npm/test/tap/registry.js b/deps/npm/test/tap/registry.js
index 20e7bbe81..060d9b67b 100644
--- a/deps/npm/test/tap/registry.js
+++ b/deps/npm/test/tap/registry.js
@@ -30,7 +30,7 @@ else {
function runTests () {
- var env = {}
+ var env = { TAP: 1 }
for (var i in process.env) env[i] = process.env[i]
env.npm = npmExec
@@ -52,7 +52,7 @@ function runTests () {
env: env,
stdio: "inherit"
}
- common.npm(["test"], opts, function (err, code) {
+ common.npm(["test", "--", "-Rtap"], opts, function (err, code) {
if (err) { throw err }
if (code) {
return test("need test to work", function (t) {