mirror of
https://github.com/nodejs/node.git
synced 2025-05-19 09:44:08 +00:00
15 lines
292 B
Plaintext
15 lines
292 B
Plaintext
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
|
|
|