1 Test Promise.all 2 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". 4 5 PASS result is undefined 6 PASS Promise.all() is rejected. 7 PASS Promise.all([]) is fulfilled. 8 PASS result.length is 0 9 PASS Promise.all([p1, p2, p3]) is fulfilled. 10 PASS result.length is 3 11 PASS result[0] is "p1" 12 PASS result[1] is "p2" 13 PASS result[2] is "p3" 14 PASS Promise.all([p1, p6, p5]) is rejected. 15 PASS result is "p6" 16 PASS Promise.all([p9]) is fulfilled. 17 PASS result.length is 1 18 PASS result[0] is "p2" 19 PASS Promise.all([p9,,,]) is fulfilled. 20 PASS result.length is 3 21 PASS result[0] is "p2" 22 PASS result[1] is undefined 23 PASS result[2] is undefined 24 PASS Promise.all([p9,42]) is fulfilled. 25 PASS result.length is 2 26 PASS result[0] is "p2" 27 PASS result[1] is 42 28 PASS Promise.all({}) is rejected. 29 PASS successfullyParsed is true 30 31 TEST COMPLETE 32 33