Remove access to non-public Suite and Spec members via Env#topSuite

This commit is contained in:
Steve Gravrock
2021-05-22 17:33:46 -07:00
parent 3f3fb38cf1
commit a0f6b77c3e
11 changed files with 142 additions and 540 deletions

View File

@@ -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);
};
/**