angular/packages/core/test/acceptance
Alex Rickabaugh f00bf71411 fix(core): makeEnvironmentProviders should accept EnvironmentProviders (#48720)
`makeEnvironmentProviders` constructs the wrapped `EnvironmentProviders`
type, which can only be used in environment injectors (not element
injectors). It makes sense that `makeEnvironmentProviders` should be able
to accept existing `EnvironmentProviders`-wrapped providers, since it will
be providing the same guarantee, but the current types do not allow this.

This commit fixes the typings to allow nesting `EnvironmentProviders` and
adds a test to verify that it will work.

PR Close #48720
2023-01-12 13:47:59 -08:00
..
attributes_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
bootstrap_spec.ts test(core): convert view container TemplateFixture tests to TestBed (#46544) 2022-06-28 11:15:02 -07:00
BUILD.bazel build: ensure bootstrap transitive runfiles are made available (#48521) 2022-12-19 19:50:41 +00:00
change_detection_spec.ts test(core): clean up tests relying on entryComponents (#44276) 2021-11-29 12:36:04 -05:00
change_detection_transplanted_view_spec.ts fix(core): check if transplanted views are attached to change detector (#46974) 2022-08-08 11:33:29 -07:00
common_integration_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
component_spec.ts feat(core): add reflectComponentType function (#46685) 2022-07-14 18:52:37 +00:00
content_spec.ts test(core): remove some ViewEngine related test code (#48238) 2022-11-28 13:08:22 -08:00
copy_definition_feature_spec.ts test: remove Ivy/ViewEngine switch helpers and obsolete tests (#44120) 2021-11-24 19:42:39 +00:00
di_forward_ref_spec.ts test: update acceptance core tests to work with es2015 (#44505) 2022-01-05 23:20:21 +00:00
di_spec.ts fix(core): makeEnvironmentProviders should accept EnvironmentProviders (#48720) 2023-01-12 13:47:59 -08:00
directive_spec.ts refactor: fix various typos across different packages (#44523) 2022-01-07 18:11:10 +00:00
discover_utils_spec.ts refactor(core): remove debug data structures (#48281) 2022-11-30 09:27:59 -08:00
embedded_views_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
env_injector_standalone_spec.ts fix(core): make parent injector argument required in createEnvironmentInjector (#46397) 2022-06-17 09:17:24 -07:00
environment_injector_spec.ts docs(core): Document invalid multi token (#48267) 2022-12-13 14:05:59 -08:00
exports_spec.ts test: remove Ivy/ViewEngine switch helpers and obsolete tests (#44120) 2021-11-24 19:42:39 +00:00
host_binding_spec.ts test(core): clean up tests relying on entryComponents (#44276) 2021-11-29 12:36:04 -05:00
host_directives_spec.ts fix(core): unable to inject ChangeDetectorRef inside host directives (#48355) 2022-12-07 09:06:46 -08:00
i18n_spec.ts refactor(core): remove debug data structures (#48281) 2022-11-30 09:27:59 -08:00
inherit_definition_feature_spec.ts fix(core): better error message when directive extends a component (#45658) 2022-04-18 09:24:23 -07:00
integration_spec.ts feat(compiler): allow self-closing tags on custom elements (#48535) 2023-01-04 12:07:37 -08:00
lifecycle_spec.ts test(core): clean up tests relying on entryComponents (#44276) 2021-11-29 12:36:04 -05:00
listener_spec.ts test(core): convert listener TemplateFixture tests to TestBed (#46509) 2022-06-27 09:04:39 -07:00
ng_module_spec.ts test(core): remove some ViewEngine related test code (#48238) 2022-11-28 13:08:22 -08:00
ngmodule_scope_spec.ts fix(core): prevent NgModule scope being overwritten in JIT compiler (#37795) 2020-08-11 09:50:27 -07:00
outputs_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
pipe_spec.ts test(core): move Pipe-related tests to the acceptance folder (#46571) 2022-06-29 10:01:35 -07:00
profiler_spec.ts test: remove Ivy/ViewEngine switch helpers and obsolete tests (#44120) 2021-11-24 19:42:39 +00:00
property_binding_spec.ts test: update acceptance core tests to work with es2015 (#44505) 2022-01-05 23:20:21 +00:00
property_interpolation_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
providers_spec.ts test: remove Ivy/ViewEngine switch helpers and obsolete tests (#44120) 2021-11-24 19:42:39 +00:00
pure_function_spec.ts test: remove Ivy/ViewEngine switch helpers and obsolete tests (#44120) 2021-11-24 19:42:39 +00:00
query_spec.ts feat(core): support the descendants option for ContentChild queries (#46638) 2022-07-01 10:20:26 -07:00
renderer_factory_spec.ts test(core): replace hand-written instructions in component tests with TestBed (#46532) 2022-06-28 09:36:18 -07:00
router_integration_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
security_spec.ts docs(core): add an error details page for unsafe <iframe> bindings (#48027) 2022-11-11 11:28:35 -08:00
standalone_injector_spec.ts test(core): add more tests for the standalone injector (#45687) 2022-04-20 16:01:56 -07:00
standalone_spec.ts feat(core): Make the isStandalone() function available in public API (#48114) 2022-12-01 13:21:21 -08:00
styling_spec.ts fix(platform-server): invalid style attribute being generated for null values (#46433) 2022-06-21 11:54:52 -07:00
template_ref_spec.ts test(core): clean up tests relying on entryComponents (#44276) 2021-11-29 12:36:04 -05:00
text_spec.ts build: bundle spec files for saucelabs legacy job (#44281) 2021-11-30 11:56:04 -05:00
view_container_ref_spec.ts refactor(core): remove experimental Renderer3 abstraction (#46605) 2022-06-30 09:04:56 -07:00
view_insertion_spec.ts test(core): clean up tests relying on entryComponents (#44276) 2021-11-29 12:36:04 -05:00
view_ref_spec.ts test(core): clean up tests relying on entryComponents (#44276) 2021-11-29 12:36:04 -05:00