mirror of
https://github.com/tc39/test262.git
synced 2025-07-27 07:54:41 +02:00
Promise.any: expected rejection shouldn't end with error message.
This commit is contained in:
parent
55b22d8d9f
commit
47b3858978
@ -10,6 +10,7 @@ features: [Promise.any]
|
|||||||
---*/
|
---*/
|
||||||
|
|
||||||
Promise.any([])
|
Promise.any([])
|
||||||
.then(function() {
|
.then(
|
||||||
$DONE('The promise should not be fulfilled.');
|
() => $DONE('The promise should be rejected, but was resolved'),
|
||||||
}, $DONE);
|
() => $DONE()
|
||||||
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user