diff --git a/test/built-ins/Promise/any/does-not-perform-species-get-of-promise.js b/test/built-ins/Promise/any/does-not-perform-species-get-of-promise.js index 299c03ddaf..0a32658066 100644 --- a/test/built-ins/Promise/any/does-not-perform-species-get-of-promise.js +++ b/test/built-ins/Promise/any/does-not-perform-species-get-of-promise.js @@ -24,9 +24,6 @@ Object.defineProperty(Promise, Symbol.species, { get() { throw new Test262Error('Erroneous Get(C, @@species) via SpeciesConstructor() occurred.'); } - static resolve() { - throw new Test262Error('Promise.resolve was reached'); - } }); Promise.any([1]).then(() => $DONE(), $DONE); diff --git a/test/built-ins/Promise/any/resolve-from-resolve-reject-finally.js b/test/built-ins/Promise/any/resolve-from-resolve-reject-finally.js deleted file mode 100644 index de1c6a8930..0000000000 --- a/test/built-ins/Promise/any/resolve-from-resolve-reject-finally.js +++ /dev/null @@ -1,22 +0,0 @@ -// Copyright (C) 2020 Rick Waldron. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -esid: sec-promise.any -description: > - Promise.any resolves with the first item that does not reject. -flags: [async] -features: [Promise.any, arrow-function] ----*/ - -let fulfillables = [ - Promise.reject('a'), - new Promise((resolve, reject) => reject('b')), - Promise.all([Promise.reject('c')]), - Promise.resolve(Promise.reject('d').finally(v => v)), -]; - -Promise.any(fulfillables) - .then((resolution) => { - assert.sameValue(resolution, 'd'); - }).then($DONE, $DONE);