Parallel: throw if Env#topSuite is called

This commit is contained in:
Steve Gravrock
2022-10-11 20:16:14 -07:00
parent e14d9c4be3
commit bb497beeff
3 changed files with 15 additions and 0 deletions

View File

@@ -400,6 +400,7 @@ getJasmineRequireObj().Env = function(j$) {
* @since 2.0.0
*/
this.topSuite = function() {
ensureNonParallel('topSuite');
return topSuite.metadata;
};