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.
15 lines
292 B
15 lines
292 B
11 years ago
|
Test Promise.resolve as cast
|
||
|
|
||
|
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
||
|
|
||
|
PASS promise is value
|
||
|
PASS result is undefined
|
||
|
PASS result2 is undefined
|
||
|
PASS result is "hello"
|
||
|
PASS result2 is 42
|
||
|
PASS fulfilled
|
||
|
PASS successfullyParsed is true
|
||
|
|
||
|
TEST COMPLETE
|
||
|
|