Top-level suite triggers suiteStarted and suiteEnd to be consistent

Fixes #706
This commit is contained in:
slackersoft
2014-11-14 18:37:00 -08:00
parent 216b40439f
commit 42b1bda919
2 changed files with 19 additions and 1 deletions

View File

@@ -180,6 +180,9 @@ getJasmineRequireObj().Env = function(j$) {
id: getNextSuiteId(),
description: 'Jasmine__TopLevel__Suite',
queueRunner: queueRunnerFactory,
onStart: function(suite) {
reporter.suiteStarted(suite.result);
},
resultCallback: function(attrs) {
reporter.suiteDone(attrs);
}