Use console.log to print test-in-console listening message.

This commit is contained in:
Ben Newman
2016-10-04 18:53:36 -04:00
parent 1d64cf6f61
commit a421da5a5e
2 changed files with 8 additions and 8 deletions

View File

@@ -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) {

View File

@@ -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");
});