mirror of https://github.com/tc39/test262.git
Promise.any: fix "invoke-then.js" test
This commit is contained in:
parent
9ccd3a7b9e
commit
299cd74ef2
|
@ -19,7 +19,7 @@ flags: [async]
|
|||
features: [Promise.any, arrow-function]
|
||||
---*/
|
||||
|
||||
let promise = new Promise(() => {});
|
||||
let promise = Promise.resolve();
|
||||
let boundThen = promise.then.bind(promise);
|
||||
|
||||
promise.then = function(resolver, rejectElement) {
|
||||
|
|
Loading…
Reference in New Issue