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;
|
||||
};
|
||||
|
||||
jasmine.Block.prototype.execute = function(onComplete) {
|
||||
this.env.reporter.log('>> Jasmine Running ' + this.spec.suite.description + ' ' + this.spec.description + '...');
|
||||
jasmine.Block.prototype.execute = function(onComplete) {
|
||||
try {
|
||||
this.func.apply(this.spec);
|
||||
} catch (e) {
|
||||
|
|
|
@ -119,6 +119,7 @@ jasmine.Spec.prototype.execute = function(onComplete) {
|
|||
spec.finish(onComplete);
|
||||
return;
|
||||
}
|
||||
this.env.reporter.log('>> Jasmine Running ' + this.suite.description + ' ' + this.description + '...');
|
||||
|
||||
spec.env.currentSpec = spec;
|
||||
spec.env.currentlyRunningTests = true;
|
||||
|
|
Loading…
Reference in New Issue