angular-cn/packages/zone.js/test
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
..
assets build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
browser fix(zone.js): Make `EventTarget` methods optional in `zone.js` extension API (#35954) 2020-03-16 09:00:44 -07:00
closure fix(zone.js): __load_patch and __symbol__ should be in zone_extern for closure compiler (#31350) 2019-07-24 13:30:01 -07:00
common feat(zone.js): add a zone config to allow user disable wrapping uncaught promise rejection (#35873) 2020-03-16 09:00:10 -07:00
extra fix(zone.js): fix 2 bluebird test cases for each/mapSeries (#36295) 2020-03-31 10:59:56 -07:00
jest feat: add basic jest support (#35080) 2020-02-07 11:43:21 -08:00
node build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
npm_package feat(zone.js): Monkey patch MessagePort.prototype onproperties (#34610) 2020-03-16 08:59:38 -07:00
patch build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
performance build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
promise refactor: cleanup zone.js test instruction (#34860) 2020-03-06 16:53:21 -05:00
rxjs fix(zone.js): zone.js patches rxjs should check null for unsubscribe (#35990) 2020-03-16 09:01:17 -07:00
webdriver build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
zone-spec fix(zone.js): `tickOptions`'s `processNewMacroTasksSynchronously` should default to true when flag omitted (#35814) 2020-03-06 17:33:57 -05:00
BUILD.bazel feat(zone.js): add a zone config to allow user disable wrapping uncaught promise rejection (#35873) 2020-03-16 09:00:10 -07:00
browser-env-setup.ts build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
browser-zone-setup.ts build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
browser_disable_wrap_uncaught_promise_rejection_entry_point.ts feat(zone.js): add a zone config to allow user disable wrapping uncaught promise rejection (#35873) 2020-03-16 09:00:10 -07:00
browser_disable_wrap_uncaught_promise_rejection_setup.ts feat(zone.js): add a zone config to allow user disable wrapping uncaught promise rejection (#35873) 2020-03-16 09:00:10 -07:00
browser_entry_point.ts feat(zone.js): Monkey patch MessagePort.prototype onproperties (#34610) 2020-03-16 08:59:38 -07:00
browser_es2015_entry_point.ts build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
browser_shadydom_entry_point.ts fix(zone.js): patch shadydom (#31717) 2019-07-24 14:42:14 -07:00
browser_shadydom_setup.ts fix(zone.js): patch shadydom (#31717) 2019-07-24 14:42:14 -07:00
browser_symbol_setup.ts build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
common_tests.ts build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
fake_entry.js build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
jasmine-patch.spec.ts build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
karma_test.bzl feat(zone.js): Monkey patch MessagePort.prototype onproperties (#34610) 2020-03-16 08:59:38 -07:00
main.ts build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
mocha-patch.spec.ts build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
node-env-setup.ts build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
node_bluebird_entry_point.ts build: add a before-all-other bootstrap script that patches require (#34736) 2020-01-15 14:58:07 -05:00
node_entry_point.ts build: add a before-all-other bootstrap script that patches require (#34736) 2020-01-15 14:58:07 -05:00
node_entry_point_no_patch_clock.ts build: add a before-all-other bootstrap script that patches require (#34736) 2020-01-15 14:58:07 -05:00
node_error_disable_policy_entry_point.ts build: add a before-all-other bootstrap script that patches require (#34736) 2020-01-15 14:58:07 -05:00
node_error_entry_point.ts build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
node_error_lazy_policy_entry_point.ts build: add a before-all-other bootstrap script that patches require (#34736) 2020-01-15 14:58:07 -05:00
node_tests.ts build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
saucelabs.js build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
test-env-setup-jasmine-no-patch-clock.ts build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
test-env-setup-jasmine.ts build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
test-env-setup-mocha.ts build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
test-util.ts refactor: ensure zone.js can be built with typescript strict flag (#30993) 2019-07-18 14:21:26 -07:00
test_fake_polyfill.ts feat: add a temp solution to support passive event listeners. (#34503) 2020-02-24 17:30:04 -08:00
ws-client.js build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
ws-server.js build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
ws-webworker-context.ts build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
wtf_mock.ts build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
zone_worker_entry_point.ts build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00