disabled suite should still call onStart callback
This commit is contained in:
@@ -51,6 +51,9 @@ getJasmineRequireObj().Suite = function() {
|
||||
|
||||
Suite.prototype.execute = function(onComplete) {
|
||||
var self = this;
|
||||
|
||||
this.onStart(this);
|
||||
|
||||
if (this.disabled) {
|
||||
complete();
|
||||
return;
|
||||
@@ -62,8 +65,6 @@ getJasmineRequireObj().Suite = function() {
|
||||
allFns.push(wrapChildAsAsync(this.children[i]));
|
||||
}
|
||||
|
||||
this.onStart(this);
|
||||
|
||||
this.queueRunner({
|
||||
fns: allFns,
|
||||
onComplete: complete
|
||||
|
||||
Reference in New Issue
Block a user