mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Use console.log to print test-in-console listening message.
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user