dwf/rva: better aliasing for getting to results at each level
This commit is contained in:
@@ -259,6 +259,7 @@ var it = function (description, func) {
|
||||
return that;
|
||||
}
|
||||
|
||||
that.expectationResults = that.results.results;
|
||||
that.runs = addToQueue;
|
||||
|
||||
jasmine.currentSuite.specs.push(that);
|
||||
@@ -300,6 +301,7 @@ var describe = function (description, spec_definitions) {
|
||||
spec_definitions();
|
||||
|
||||
that.results.description = description;
|
||||
that.specResults = that.results.results;
|
||||
|
||||
that.finishCallback = function () {
|
||||
if (jasmine.reporter) {
|
||||
@@ -322,6 +324,8 @@ var Runner = function () {
|
||||
}
|
||||
}
|
||||
|
||||
that.suiteResults = that.results.results;
|
||||
|
||||
jasmine.currentRunner = that;
|
||||
return that;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user