Add a hook on unit test completion

This commit is contained in:
Avital Oliver
2012-05-15 23:01:27 -07:00
parent a013be0965
commit cf685eb58d

View File

@@ -3,6 +3,7 @@ var running = true;
Meteor.startup(function () {
Meteor._runTestsEverywhere(reportResults, function () {
running = false;
Meteor.onTestsComplete && Meteor.onTestsComplete();
_resultsChanged();
});
});