angular/packages/platform-browser/test/dom
arturovt a01bcb8e7e fix(platform-browser): do not run change detection when loading Hammer (#44921)
The Hammer.JS might be loaded asynchronously if the `HAMMER_LOADER` token is provided.
Its loading causes additional change detection cycles when the script `load` event is fired
and the `import()` promise resolves. Its loading doesn't have to require Angular running `tick()`
since the Hammer instance is created outside of the Angular zone anyway.

BREAKING CHANGE:

This change may cause a breaking change in unit tests that are implicitly depending on a specific
number and sequence of change detections in order for their assertions to pass.

PR Close #44921
2022-02-02 19:50:46 +00:00
..
events fix(platform-browser): do not run change detection when loading Hammer (#44921) 2022-02-02 19:50:46 +00:00
dom_renderer_spec.ts feat(core): remove ViewEncapsulation.Native (#38882) 2020-10-08 11:56:03 -07:00
shadow_dom_spec.ts test: clean up more entryComponents usages (#44561) 2022-01-06 18:36:22 +00:00
shared_styles_host_spec.ts test: clean up internal testing utilities (#42177) 2021-05-26 20:07:25 +00:00