Parallel: Fixed reporting of exceptions thrown by a describe
This commit is contained in:
@@ -495,6 +495,7 @@ getJasmineRequireObj().Env = function(j$) {
|
||||
this.parallelReset = function() {
|
||||
// TODO: ensure that autoCleanClosures was false
|
||||
suiteBuilder.parallelReset();
|
||||
runner.parallelReset();
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@@ -27,6 +27,10 @@ getJasmineRequireObj().Runner = function(j$) {
|
||||
];
|
||||
}
|
||||
|
||||
parallelReset() {
|
||||
this.executedBefore_ = false;
|
||||
}
|
||||
|
||||
async execute(runablesToRun) {
|
||||
if (this.executedBefore_) {
|
||||
this.topSuite_.reset();
|
||||
|
||||
@@ -24,6 +24,7 @@ getJasmineRequireObj().SuiteBuilder = function(j$) {
|
||||
|
||||
parallelReset() {
|
||||
this.topSuite.removeChildren();
|
||||
this.topSuite.reset();
|
||||
this.totalSpecsDefined = 0;
|
||||
this.focusedRunables = [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user