@@ -2,8 +2,7 @@ getJasmineRequireObj().Env = function(j$) {
|
||||
function Env(options) {
|
||||
options = options || {};
|
||||
var self = this;
|
||||
var global = options.global || j$.getGlobal(),
|
||||
now = options.now || function() { return new Date().getTime(); };
|
||||
var global = options.global || j$.getGlobal();
|
||||
|
||||
var catchExceptions = true;
|
||||
|
||||
@@ -194,13 +193,10 @@ getJasmineRequireObj().Env = function(j$) {
|
||||
};
|
||||
|
||||
this.execute = function() {
|
||||
var startTime = now();
|
||||
this.reporter.jasmineStarted({
|
||||
totalSpecsDefined: totalSpecsDefined
|
||||
});
|
||||
this.topSuite.execute(function() {
|
||||
self.reporter.jasmineDone({executionTime: now() - startTime});
|
||||
});
|
||||
this.topSuite.execute(self.reporter.jasmineDone);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user