mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
378 B
16 lines
378 B
11 years ago
|
Test Promise.prototype.catch.
|
||
|
|
||
|
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
||
|
|
||
|
PASS thisInInit is undefined
|
||
|
PASS firstPromise instanceof Promise is true
|
||
|
PASS secondPromise instanceof Promise is true
|
||
|
PASS thisInOnFulfilled is undefined
|
||
|
PASS result is "hello"
|
||
|
PASS result is "bye"
|
||
|
PASS fulfilled
|
||
|
PASS successfullyParsed is true
|
||
|
|
||
|
TEST COMPLETE
|
||
|
|