Promise.any: expected rejection shouldn't end with error message.

This commit is contained in:
Rick Waldron 2020-03-16 12:08:25 -04:00
parent 55b22d8d9f
commit 47b3858978
1 changed files with 4 additions and 3 deletions

View File

@ -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()
);