Skip to content

Commit 4df6699

Browse files
committed
remove arrow function from test
1 parent 72735fd commit 4df6699

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/browser/test/integration/suites/onunhandledrejection.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ describe("window.onunhandledrejection", function() {
4444
window.dispatchEvent(
4545
new CustomEvent("unhandledrejection", {
4646
detail: {
47-
promise: new Promise(() => {}),
47+
promise: new Promise(function() {}),
4848
// we're testing with an error here but it could be anything - really
4949
// all we're testing is that it gets dug out correctly
5050
reason: new Error("test2"),

0 commit comments

Comments
 (0)