Make test-in-console confirm to new driver spec.

See #6439
This commit is contained in:
Tom Coleman
2016-03-09 15:57:51 +11:00
parent ac6a2a961f
commit aae95c8b6a
2 changed files with 5 additions and 2 deletions

View File

@@ -103,7 +103,8 @@ var sendReports = function (callback) {
else
callback();
};
Meteor.startup(function () {
runTests = function () {
setTimeout(sendReports, 500);
setInterval(sendReports, 2000);
@@ -234,4 +235,4 @@ Meteor.startup(function () {
logMagic('state', 'done');
},
["tinytest"]);
});
}

View File

@@ -15,4 +15,6 @@ Package.onUse(function (api) {
// This is to be run by phantomjs, not as part of normal package code.
api.addAssets('runner.js', 'server');
api.export('runTests');
});