aboutsummaryrefslogtreecommitdiff
path: root/test/mocha/release.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/mocha/release.js')
-rw-r--r--test/mocha/release.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/mocha/release.js b/test/mocha/release.js
index 9f894b3d..bd1154ad 100644
--- a/test/mocha/release.js
+++ b/test/mocha/release.js
@@ -4,13 +4,9 @@ var spawn = require("child_process").spawn;
if (!process.env.UGLIFYJS_TEST_ALL) return;
function run(command, args, done) {
- var id = setInterval(function() {
- process.stdout.write("\0");
- }, 5 * 60 * 1000);
spawn(command, args, {
- stdio: "ignore"
+ stdio: [ "ignore", 1, 2 ]
}).on("exit", function(code) {
- clearInterval(id);
assert.strictEqual(code, 0);
done();
});