mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
@@ -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"]);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -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');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user