Optionally detect late promise rejections and don't report them as errors
This commit is contained in:
@@ -3697,7 +3697,7 @@ describe('Env integration', function() {
|
||||
|
||||
function browserEventMethods() {
|
||||
return {
|
||||
listeners_: { error: [], unhandledrejection: [] },
|
||||
listeners_: { error: [], unhandledrejection: [], rejectionhandled: [] },
|
||||
addEventListener(eventName, listener) {
|
||||
this.listeners_[eventName].push(listener);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user