mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Benefits of auto-ticking mock clocks have been described in other PRs, such as https://github.com/jasmine/jasmine/pull/2042 and https://github.com/sinonjs/fake-timers/pull/509. In short, `fakeAsync` cannot work when some tasks are required to be truly async, such as XHRs or observers like ResizeObserver. In addition, auto ticking mock clocks can be applied to tests without the tests then needing to update everything to manually flush timers. PR Close #62135 |
||
|---|---|---|
| .. | ||
| async-test.ts | ||
| fake-async-test.ts | ||
| long-stack-trace.ts | ||
| proxy.ts | ||
| rollup-long-stack-trace.ts | ||
| rollup-proxy.ts | ||
| rollup-sync-test.ts | ||
| rollup-task-tracking.ts | ||
| rollup-wtf.ts | ||
| sync-test.ts | ||
| task-tracking.ts | ||
| wtf.ts | ||