angular-cn/packages/examples/core/testability/ts/whenStable
Michael Giambalvo 16c03c0f38 fix(core): In Testability.whenStable update callback, pass more complete (#25010)
data about tasks.

When building a list of pending tasks for callers of whenStable(),
Testability will copy data about the task into a new object, in order to
avoid leaking references to tasks.

This change copies more properties from Tasks into the list of pending
tasks, as well as a reference to Task.data to give callers more
information about the tasks that are pending.

Specifically, this also copies runCount and task ID, which are needed in
order for callers to know when a given task is repeating.

PR Close #25010
2018-08-06 13:49:19 -07:00
..
e2e_test fix(core): In Testability.whenStable update callback, pass more complete (#25010) 2018-08-06 13:49:19 -07:00
module.ts feat(core): add task tracking to Testability (#16863) 2018-03-14 08:48:48 -07:00
testability_example.ts feat(core): add task tracking to Testability (#16863) 2018-03-14 08:48:48 -07:00