blob: 0c02799c7b8466025c003ff140ffb2d7f3d0c804 [file] [log] [blame]
Test unhandled promise rejection event.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS error.type is "unhandledrejection"
PASS error.cancelable is true
PASS error.promise is promise[0]
PASS error.reason is 0
PASS error.type is "unhandledrejection"
PASS error.cancelable is true
PASS error.promise is promise[1]
PASS error.reason is 1
PASS error.type is "unhandledrejection"
PASS error.cancelable is true
PASS error.promise is promise[2]
PASS error.reason is 2
PASS successfullyParsed is true
TEST COMPLETE