Lines Matching defs:result
28 var result = undefined;
40 Promise.all([p1, p2, p5]).then(function(result) {
52 result = localResult;
53 shouldBe('result.length', '0');
60 result = localResult;
61 shouldBe('result.length', '3');
62 shouldBeEqualToString('result[0]', 'p1');
63 shouldBeEqualToString('result[1]', 'p2');
64 shouldBeEqualToString('result[2]', 'p3');
73 result = localResult;
74 shouldBeEqualToString('result', 'p6');
79 result = localResult;
80 shouldBe('result.length', '1');
81 shouldBeEqualToString('result[0]', 'p2');
82 }, function(result) {
89 result = localResult;
90 shouldBe('result.length', '3');
91 shouldBeEqualToString('result[0]', 'p2');
92 shouldBe('result[1]', 'undefined');
93 shouldBe('result[2]', 'undefined');
102 result = localResult;
103 shouldBe('result.length', '2');
104 shouldBeEqualToString('result[0]', 'p2');
105 shouldBe('result[1]', '42');
117 shouldBe('result', 'undefined');