From a421da5a5e64c09fa37b2eb439c8e6d37192e7b7 Mon Sep 17 00:00:00 2001 From: Ben Newman Date: Tue, 4 Oct 2016 18:53:36 -0400 Subject: [PATCH] Use console.log to print test-in-console listening message. --- packages/test-in-console/package.js | 2 +- packages/test-in-console/reporter.js | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/test-in-console/package.js b/packages/test-in-console/package.js index 3f6a67482e..e521bfd1cb 100644 --- a/packages/test-in-console/package.js +++ b/packages/test-in-console/package.js @@ -1,6 +1,6 @@ Package.describe({ summary: "Run tests noninteractively, with results going to the console.", - version: '1.0.12' + version: '1.0.13' }); Package.onUse(function (api) { diff --git a/packages/test-in-console/reporter.js b/packages/test-in-console/reporter.js index 5f12d912f9..54c95f3a02 100644 --- a/packages/test-in-console/reporter.js +++ b/packages/test-in-console/reporter.js @@ -1,3 +1,10 @@ +// provide some notification we're started. This is to allow use +// in automated scripts with `meteor run --once` which does not +// print when the proxy is listening. +Meteor.startup(function () { + console.log("test-in-console listening"); +}); + // A hacky way to extract the phantom runner script from the package. if (process.env.WRITE_RUNNER_JS) { Npm.require('fs').writeFileSync( @@ -26,10 +33,3 @@ Meteor.methods({ return null; } }); - -// provide some notification we're started. This is to allow use -// in automated scripts with `meteor run --once` which does not -// print when the proxy is listening. -Meteor.startup(function () { - Meteor._debug("test-in-console listening"); -});