angular/packages/core/testing/src
Andrew Scott 8cad4e8cbe fix(core): ComponentFixture autoDetect respects OnPush flag of host view (#54824)
This is a follow-up to #53718 that applies the same logic to the
`autoDetect` feature of the fixture's host view. This now unifies the
logic between `ApplicationRef` and `ComponentFixture` autodetect.

BREAKING CHANGE: The `ComponentFixture` `autoDetect` feature will no
longer refresh the component's host view when the component is `OnPush`
and not marked dirty. This exposes existing issues in components which
claim to be `OnPush` but do not correctly call `markForCheck` when they
need to be refreshed. If this change causes test failures, the easiest
fix is to change the component to `ChangeDetectionStrategy.Default`.

PR Close #54824
2024-03-13 08:32:03 -07:00
..
async.ts feat(core): drop support for zone.js 0.10.x (#40823) 2021-02-24 07:58:29 -08:00
component_fixture.ts fix(core): ComponentFixture autoDetect respects OnPush flag of host view (#54824) 2024-03-13 08:32:03 -07:00
defer.ts refactor(core): ignore after and minimum when transition between states in tests (#52314) 2023-10-24 09:25:13 -07:00
fake_async.ts docs: fix typo (#49669) 2023-04-03 19:18:40 -07:00
logger.ts refactor(core): cleanup type any (#48623) 2023-01-04 12:15:16 -08:00
metadata_override.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
metadata_overrider.ts fix(core): support cyclic metadata in TestBed overrides (#44215) 2021-11-19 19:27:08 +00:00
resolvers.ts feat(core): support TypeScript 4.8 (#47038) 2022-08-16 16:02:47 +00:00
styling.ts refactor(core): drop IE workarounds (#49763) 2023-04-13 14:01:45 +00:00
test_bed.ts refactor(core): Update ComponentFixture behavior when using zoneless scheduler (#54024) 2024-01-29 20:21:47 +00:00
test_bed_common.ts refactor(core): Update ComponentFixture behavior when using zoneless scheduler (#54024) 2024-01-29 20:21:47 +00:00
test_bed_compiler.ts fix(core): apply TestBed provider overrides to @defer dependencies (#54667) 2024-03-05 09:21:22 +01:00
test_hooks.ts fix(core): guard the jasmine hooks (#51394) 2023-08-21 08:14:53 -07:00
testing.ts refactor(core): Update ComponentFixture behavior when using zoneless scheduler (#54024) 2024-01-29 20:21:47 +00:00
testing_internal.ts refactor(core): Remove ununsed Zone mock from testing internals. (#49873) 2023-04-18 14:00:15 +00:00