OLD | NEW |
1 Test Promise.cast | 1 Test Promise.resolve as cast |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 PASS promise is value | 5 PASS promise is value |
6 PASS result is undefined | 6 PASS result is undefined |
7 PASS result2 is undefined | 7 PASS result2 is undefined |
8 PASS result is "hello" | 8 PASS result is "hello" |
9 PASS result2 is 42 | 9 PASS result2 is 42 |
10 PASS fulfilled | 10 PASS fulfilled |
11 PASS successfullyParsed is true | 11 PASS successfullyParsed is true |
12 | 12 |
13 TEST COMPLETE | 13 TEST COMPLETE |
14 | 14 |
OLD | NEW |