Merge branch 'main' into 3.99

This commit is contained in:
Steve Gravrock
2021-04-22 17:23:08 -07:00
24 changed files with 504 additions and 100 deletions

View File

@@ -708,6 +708,13 @@ getJasmineRequireObj().Env = function(j$) {
defaultResourcesForRunnable(topSuite.id);
currentDeclarationSuite = topSuite;
/**
* Provides the root suite, through which all suites and specs can be
* accessed.
* @function
* @name Env#topSuite
* @return {Suite} the root suite
*/
this.topSuite = function() {
return topSuite;
};