Minor logging fix
This commit is contained in:
parent
bc790d6b87
commit
96bcde80af
@ -12,8 +12,7 @@ jasmine.Block = function(env, func, spec) {
|
|||||||
this.spec = spec;
|
this.spec = spec;
|
||||||
};
|
};
|
||||||
|
|
||||||
jasmine.Block.prototype.execute = function(onComplete) {
|
jasmine.Block.prototype.execute = function(onComplete) {
|
||||||
this.env.reporter.log('>> Jasmine Running ' + this.spec.suite.description + ' ' + this.spec.description + '...');
|
|
||||||
try {
|
try {
|
||||||
this.func.apply(this.spec);
|
this.func.apply(this.spec);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
@ -119,6 +119,7 @@ jasmine.Spec.prototype.execute = function(onComplete) {
|
|||||||
spec.finish(onComplete);
|
spec.finish(onComplete);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
this.env.reporter.log('>> Jasmine Running ' + this.suite.description + ' ' + this.description + '...');
|
||||||
|
|
||||||
spec.env.currentSpec = spec;
|
spec.env.currentSpec = spec;
|
||||||
spec.env.currentlyRunningTests = true;
|
spec.env.currentlyRunningTests = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user