diff --git a/lib/jasmine-core/jasmine.js b/lib/jasmine-core/jasmine.js index f1b79721..10e4d900 100644 --- a/lib/jasmine-core/jasmine.js +++ b/lib/jasmine-core/jasmine.js @@ -11614,7 +11614,6 @@ getJasmineRequireObj().TreeRunner = function(j$) { return { fn: done => { // setTimeout is necessary to trigger rejectionhandled events - // TODO: let clearStack know about this so it doesn't do redundant setTimeouts this.#setTimeout(function() { globalErrors.reportUnhandledRejections(); done(); diff --git a/src/core/TreeRunner.js b/src/core/TreeRunner.js index 5952739f..1a84a59a 100644 --- a/src/core/TreeRunner.js +++ b/src/core/TreeRunner.js @@ -192,7 +192,6 @@ getJasmineRequireObj().TreeRunner = function(j$) { return { fn: done => { // setTimeout is necessary to trigger rejectionhandled events - // TODO: let clearStack know about this so it doesn't do redundant setTimeouts this.#setTimeout(function() { globalErrors.reportUnhandledRejections(); done();