Remove access to non-public Suite and Spec members via Env#topSuite
This commit is contained in:
@@ -554,7 +554,7 @@ getJasmineRequireObj().Env = function(j$) {
|
||||
* @return {Suite} the root suite
|
||||
*/
|
||||
this.topSuite = function() {
|
||||
return j$.deprecatingSuiteProxy(topSuite, null, this);
|
||||
return topSuite.buildMetadata(null);
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user