JiaLiPassion
b44f7b5e16
fix(zone.js): fix 2 bluebird test cases for each/mapSeries ( #36295 )
...
`Bluebird.each` and `Bluebird.mapSeries` will accept a callback with `value` parameter,
the `value` should be the item in the array, not array itself.
For example:
```
const arr = [1, 2];
Bluebird.each(arr, function(value, idx) {
console.log(`value: ${value}, idx: ${idx}`);
})
```
the output will be
```
value: 1, idx: 0
value: 2, idx: 1
```
This PR fix the test cases for `each` and `mapSeries` APIs.
PR Close #36295
2020-03-31 10:59:56 -07:00
..
2019-06-20 11:27:39 -07:00
2020-03-16 09:00:44 -07:00
2019-07-24 13:30:01 -07:00
2020-03-16 09:00:10 -07:00
2020-03-31 10:59:56 -07:00
2020-02-07 11:43:21 -08:00
2019-06-20 11:27:39 -07:00
2020-03-16 08:59:38 -07:00
2019-06-20 11:27:39 -07:00
2019-06-20 11:27:39 -07:00
2020-03-06 16:53:21 -05:00
2020-03-16 09:01:17 -07:00
2019-06-20 11:27:39 -07:00
2020-03-06 17:33:57 -05:00
2020-03-16 09:00:10 -07:00
2020-03-16 09:00:10 -07:00
2020-03-16 08:59:38 -07:00
2019-06-20 11:27:39 -07:00
2019-07-24 14:42:14 -07:00
2019-07-24 14:42:14 -07:00
2019-06-20 11:27:39 -07:00
2019-06-20 11:27:39 -07:00
2019-06-20 11:27:39 -07:00
2020-03-16 09:00:10 -07:00
2019-06-20 11:27:39 -07:00
2019-06-20 11:27:39 -07:00
2019-06-20 11:27:39 -07:00
2020-03-16 08:59:38 -07:00
2019-06-20 11:27:39 -07:00
2019-06-20 11:27:39 -07:00
2020-01-15 14:58:07 -05:00
2020-01-15 14:58:07 -05:00
2020-01-15 14:58:07 -05:00
2020-01-15 14:58:07 -05:00
2019-06-20 11:27:39 -07:00
2020-01-15 14:58:07 -05:00
2019-06-20 11:27:39 -07:00
2019-06-20 11:27:39 -07:00
2019-06-20 11:27:39 -07:00
2020-02-24 17:30:04 -08:00
2019-06-20 11:27:39 -07:00
2019-06-20 11:27:39 -07:00
2019-06-20 11:27:39 -07:00
2019-07-18 14:21:26 -07:00
2019-06-20 11:27:39 -07:00
2019-06-20 11:27:39 -07:00
2019-06-20 11:27:39 -07:00
2019-06-20 11:27:39 -07:00
2019-06-20 11:27:39 -07:00