Skip to content
Snippets Groups Projects
Commit 6d2288fe authored by Rick Waldron's avatar Rick Waldron
Browse files

Eliminate false positives: Promise.prototype.finally

parent 628faa5e
No related branches found
No related tags found
No related merge requests found
......@@ -8,6 +8,8 @@ esid: sec-promise.prototype.finally
features: [Promise.prototype.finally]
---*/
assert.sameValue(typeof Promise.prototype.finally, 'function');
assert.throws(TypeError, function() {
Promise.prototype.finally.call(undefined);
}, 'undefined');
......
......@@ -8,6 +8,7 @@ description: >
esid: sec-promise.prototype.finally
features: [Symbol, Promise.prototype.finally]
---*/
assert.sameValue(typeof Promise.prototype.finally, 'function');
var symbol = Symbol();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment