angular/packages/core
Andrew Kushnir ee892ee294 fix(core): reset cached scope for components that were overridden using TestBed (#52916)
Currently, when a component is overriden using `TestBed.overrideComponent`, Angular retains calculated scope for that component (a set of components and directives used within a component). This may cause stale information to be used in tests in some cases. This commit updates the logic to reset overridden component scope, so it gets re-computed during the next invocation.

Resolves #52817.

PR Close #52916
2023-11-15 14:03:55 +00:00
..
global build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
primitives/signals refactor(core): Add warning when signal equality is false for object.is (#52532) 2023-11-06 15:53:09 -08:00
reference-manifests build: add target to generate api manifest (#52472) 2023-11-02 11:00:59 -07:00
rxjs-interop fix(core): add rejectErrors option to toSignal (#52474) 2023-10-31 14:59:26 -07:00
schematics fix(migrations): Add support for bound versions of NgIfElse and NgIfThenElse (#52869) 2023-11-13 22:33:33 +00:00
src refactor(core): Remove detectChanges private export (#52875) 2023-11-14 21:05:42 +00:00
test fix(core): reset cached scope for components that were overridden using TestBed (#52916) 2023-11-15 14:03:55 +00:00
testing fix(core): reset cached scope for components that were overridden using TestBed (#52916) 2023-11-15 14:03:55 +00:00
BUILD.bazel build: add targets for api doc generation (#52034) 2023-10-10 16:18:50 -07:00
index.ts refactor(core): made comment structure consistent in index.ts (#43684) 2021-10-21 18:39:58 +00:00
package.json build: update node.js engines version to be more explicate about v20 support (#52448) 2023-10-31 14:18:36 -07:00
PACKAGE.md docs: add package doc files (#26047) 2018-10-05 15:42:14 -07:00
public_api.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00