angular-cn/packages/core/test/linker
Andrew Scott 63256b511a fix(ivy): Only restore registered modules if user compiles modules with TestBed (#32944)
There are a couple scenarios that are problematic and need special
handling:

1. A user has a custom implementation of lazy-loaded modules, sets some
provider overrides, then compiles the module so it can be loaded. In a
follow-up test, the user sets different overrides for the module and
then compiles. This is problematic because we need to be sure the module
registered in the first test is not used, so we need to clear it out of
the modules list in `ng_module_factory_registration`.
2. A user has a similar lazy-loaded module factory implementation but
relies on the module being registered automatically. This can happen,
for example, as a side effect of importing the ngfactory file.

PR Close #32944
2019-10-01 17:17:47 -07:00
..
change_detection_integration_spec.ts refactor(core): Migrate TestBed.get to TestBed.inject (#32382) 2019-09-09 19:10:54 -04:00
entry_components_integration_spec.ts test(ivy): ComponentFactoryResolver can resolve any component factory in Ivy (#28465) 2019-01-31 15:55:31 -05:00
inheritance_integration_spec.ts fix(ivy): proper component resolution in case of inheritance (#28439) 2019-02-05 23:29:04 -05:00
integration_spec.ts refactor(core): Migrate TestBed.get to TestBed.inject (#32382) 2019-09-09 19:10:54 -04:00
jit_summaries_integration_spec.ts refactor(core): Migrate TestBed.get to TestBed.inject (#32382) 2019-09-09 19:10:54 -04:00
ng_container_integration_spec.ts feat(ivy): i18n - reorganize entry-points for better reuse (#32488) 2019-09-12 15:35:34 -07:00
ng_module_integration_spec.ts fix(ivy): Only restore registered modules if user compiles modules with TestBed (#32944) 2019-10-01 17:17:47 -07:00
projection_integration_spec.ts refactor(core): Migrate TestBed.get to TestBed.inject (#32382) 2019-09-09 19:10:54 -04:00
query_integration_spec.ts test(core): update query-specific tests in core (#30626) 2019-05-23 10:31:32 -07:00
query_list_spec.ts refactor: Move `dom_adapter.ts` to `@angular/common` (#32154) 2019-08-29 21:51:56 -07:00
regression_integration_spec.ts refactor(core): move Meta methods that only have one version from DomAdapter (#32408) 2019-09-03 11:59:39 -07:00
security_integration_spec.ts fix(ivy): warn instead of throwing for unknown properties (#32463) 2019-09-06 13:15:03 -04:00
source_map_integration_node_only_spec.ts refactor(core): Migrate TestBed.get to TestBed.inject (#32382) 2019-09-09 19:10:54 -04:00
system_ng_module_factory_loader_spec.ts fix(ivy): don't load factories when using Ivy (#28685) 2019-04-12 11:26:24 -07:00
view_injector_integration_spec.ts test(ivy): run view_injector_integration tests on node (#28593) 2019-02-08 09:25:50 -08:00