angular-cn/packages/examples/core
Michael Giambalvo 37fedd001c feat(core): add task tracking to Testability (#16863)
Allow passing an optional timeout to Testability's whenStable(). If
specified, if Angular is not stable before the timeout is hit, the
done callback will be invoked with a list of pending macrotasks.

Also, allows an optional update callback, which will be invoked whenever
the set of pending macrotasks changes. If this callback returns true,
the timeout will be cancelled and the done callback will not be invoked.

If the optional parameters are not passed, whenStable() will work
as it did before, whether or not the task tracking zone spec is
available.

This change also migrates the Testability unit tests off the deprecated
AsyncTestCompleter.

PR Close #16863
2018-03-14 08:48:48 -07:00
..
animation/ts/dsl refactor(platform-browser): move platform-browser/animations to animations/browser (#15130) 2017-03-14 11:55:49 -07:00
debug/ts/debug_element fix: Update types for TypeScript nullability support in examples 2017-04-12 11:36:19 -07:00
di/ts feat: tree-shakeable providers API updates (#22655) 2018-03-13 09:28:05 -07:00
testability/ts/whenStable feat(core): add task tracking to Testability (#16863) 2018-03-14 08:48:48 -07:00
testing/ts docs(core): move core examples into `examples/core/` directory 2017-12-18 12:10:29 -08:00
ts build: add bazel test rules for remainder of packages (#21053) 2017-12-22 13:10:51 -08:00