Expose Jasmine's topSuite [finishes #59774024]
This commit is contained in:
@@ -150,6 +150,10 @@ getJasmineRequireObj().Env = function(j$) {
|
||||
runnableLookupTable[topSuite.id] = topSuite;
|
||||
currentSuite = topSuite;
|
||||
|
||||
this.topSuite = function() {
|
||||
return topSuite;
|
||||
};
|
||||
|
||||
this.execute = function(runnablesToRun) {
|
||||
runnablesToRun = runnablesToRun || [topSuite.id];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user