We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0d2f7a commit 592c097Copy full SHA for 592c097
test/suite/es6/ch25/25.4/25.4.3/25.4.3.1/S25.4.3.1_A2.2_T1.js
@@ -6,9 +6,10 @@ info: >
6
Promise throws TypeError when 'this' is constructed but unsettled promise
7
author: Sam Mikes
8
description: Promise.call(new Promise()) throws TypeError
9
-negative: TypeError
10
---*/
11
12
var p = new Promise(function() {});
13
14
-Promise.call(p, function () {});
+assert.throws(function () {
+ Promise.call(p, function () {});
15
+});
0 commit comments