angular/packages/platform-browser/test/browser
Andrew Scott 4e098fa8a7 refactor(core): move Zone providers to a single provider function (#49373)
This commit moves the providers for `NgZone`-based change detection to a
single provider function. This function is currently called by default
in all places where `NgZone` was provided
(`bootstrapApplication`, `bootstrapModule`, and `TestBed`).

When we want to make Angular applications zoneless by default, we
can make a public provider method that has to be used in order to enable
the zone change detection features. When this method is not called,
Angular would use `NoopNgZone` by default and not initialize any
subscriptions to the `NgZone` stability events.

Side note: There are actually two places that `NgZone` is provided for `TestBed`
(providers in `compileTestModule` and `BrowserTestingModule`). This
likely doesn't need to be in both locations.

PR Close #49373
2023-03-14 09:20:53 -07:00
..
static_assets refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
tools build: update to jasmine 4.0 (#45558) 2022-04-11 16:25:28 +00:00
bootstrap_spec.ts refactor(core): move Zone providers to a single provider function (#49373) 2023-03-14 09:20:53 -07:00
bootstrap_standalone_spec.ts fix(core): trigger ApplicationRef.destroy when Platform is destroyed (#46497) 2022-06-28 13:02:56 -07:00
meta_spec.ts fix(platform-browser): in Meta.addTag() do not add duplicate meta tags (#42703) 2021-06-30 10:35:30 -07:00
rectangle_mock.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
title_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00