angular/packages/zone.js/lib
Doug Parker b334e29d59 refactor(zone.js): read patched timers after they are patched (#53443)
This moves timer patching from a top-level side effect into the `patchFakeAsyncTest` function. Top-level statements are evaluated before the Node patches run and have a chance to patch them with the Zone versions of these timers, meaning `FakeAsyncTestZoneSpec` was repatching the native versions between tests. The fix here is to grab the patched versions of these timers during the `patchFakeAsyncTest` function where we can be confident Node patches have already run.

PR Close #53443
2024-03-15 18:11:34 -07:00
..
browser refactor(zone.js): update Zone bundles to call patch* functions (#53443) 2024-03-15 18:11:33 -07:00
common refactor(zone.js): update utils.ts to import __symbol__ (#53443) 2024-03-15 18:11:33 -07:00
extra refactor(zone.js): update Zone bundles to call patch* functions (#53443) 2024-03-15 18:11:33 -07:00
jasmine refactor(zone.js): update Zone bundles to call patch* functions (#53443) 2024-03-15 18:11:33 -07:00
jest refactor(zone.js): wrap Zone.__load_patch calls in exported functions (#53443) 2024-03-15 18:11:33 -07:00
mix refactor(zone.js): update Zone bundles to call patch* functions (#53443) 2024-03-15 18:11:33 -07:00
mocha refactor(zone.js): update Zone bundles to call patch* functions (#53443) 2024-03-15 18:11:33 -07:00
node refactor(zone.js): update Zone bundles to call patch* functions (#53443) 2024-03-15 18:11:33 -07:00
rxjs refactor(zone.js): update Zone bundles to call patch* functions (#53443) 2024-03-15 18:11:33 -07:00
testing refactor(zone.js): update Zone bundles to call patch* functions (#53443) 2024-03-15 18:11:33 -07:00
zone-spec refactor(zone.js): read patched timers after they are patched (#53443) 2024-03-15 18:11:34 -07:00
BUILD.bazel refactor(zone.js): copy zone.ts to zone-impl.ts (#53443) 2024-03-15 18:11:32 -07:00
zone-global.d.ts fix(zone.js): remove global declaration (#37861) 2020-10-23 15:19:49 -07:00
zone-impl.ts refactor(zone.js): delay reading __Zone_symbol_prefix until needed (#53443) 2024-03-15 18:11:34 -07:00
zone.api.extensions.ts refactor(zone.js): change from scripts to modules (#53445) 2024-01-09 13:20:50 -08:00
zone.configurations.api.ts fix(zone.js): patch form-associated custom element callbacks (#50686) 2024-02-12 08:50:55 -08:00
zone.ts refactor(zone.js): wrap Zone.js global initialization in a loadZone function (#53443) 2024-03-15 18:11:33 -07:00