angular-cn/packages/core
Andrew Kushnir 942b986ef3 fix(core): properly identify modules affected by overrides in TestBed (#36649)
When module overrides (via `TestBed.overrideModule`) are present, it might affect all modules that import (even transitively) an overridden one. For all affected modules we need to recalculate their scopes for a given test run and restore original scopes at the end. Prior to this change, we were recalculating module scopes only for components that are used in a test, without taking into account module hierarchy. This commit updates Ivy TestBed logic to calculate all potentially affected modules are reset cached scopes information for them (so that scopes are recalculated as needed).

Resolves #36619.

PR Close #36649
2020-04-21 21:57:48 -04:00
..
global docs(ivy): document global debugging utilities and clean up API (#34453) 2020-01-30 11:30:32 -08:00
schematics fix(core): missing-injectable migration should not migrate `@NgModule` classes (#36369) 2020-04-21 12:54:24 -04:00
src fix(core): do not use unbound attributes as inputs to structural directives (#36441) 2020-04-21 13:30:25 -04:00
test fix(core): properly identify modules affected by overrides in TestBed (#36649) 2020-04-21 21:57:48 -04:00
testing fix(core): properly identify modules affected by overrides in TestBed (#36649) 2020-04-21 21:57:48 -04:00
BUILD.bazel build: provide full paths to `ts_api_guardian_test_npm_package` and `ts_api_guardian_test` (#36034) 2020-03-12 09:49:00 -07:00
PACKAGE.md docs: add package doc files (#26047) 2018-10-05 15:42:14 -07:00
index.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
package.json build(zone.js): update zone.js version to 0.10.3 (#36214) 2020-03-31 10:59:17 -07:00
public_api.ts build: publish tree of files rather than FESMs (#18541) 2017-08-31 15:34:50 -07:00