angular-cn/packages/core/test
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
..
acceptance fix(core): do not use unbound attributes as inputs to structural directives (#36441) 2020-04-21 13:30:25 -04:00
animation build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
bundling fix(core): do not use unbound attributes as inputs to structural directives (#36441) 2020-04-21 13:30:25 -04:00
change_detection build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
debug build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
di build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
dom build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
i18n build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
linker build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
metadata build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
reflection build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
render3 build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
sanitization build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
strict_types build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
testability build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
util build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
view build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
zone build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
BUILD.bazel test(core): re-enable IE 10/11 test on SauceLabs (#35962) 2020-03-24 10:14:47 -07:00
application_init_spec.ts build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
application_module_spec.ts build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
application_ref_integration_spec.ts build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
application_ref_spec.ts build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
component_fixture_spec.ts build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
dev_mode_spec.ts build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
directive_lifecycle_integration_spec.ts build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
error_handler_spec.ts build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
event_emitter_spec.ts build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
fake_async_spec.ts build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
forward_ref_integration_spec.ts build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
spies.ts build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
test_bed_async_spec.ts build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
test_bed_spec.ts fix(core): properly identify modules affected by overrides in TestBed (#36649) 2020-04-21 21:57:48 -04:00
testing_internal_spec.ts build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
util_spec.ts build: extract interface and util sub compilation from core (#28028) 2019-01-10 16:31:44 -08:00