angular/packages/core/test/acceptance
Cédric Exbrayat 76790a63de fix(core): improve the missing control flow directive message (#46903)
Similarly to what has been done in #46846 for the extended diagnostics about missing control flow directive that was only mentioning that the `CommonModule` should be imported, this commit improves the validation done by the JiT compiler.
Now that the control flow directives are available as standalone, the message mentions that directive itself can be imported.

The message now also mentions which import should be used for the directive (as it can be tricky to figure out that `NgForOf` is the directive corresponding to `*ngFor`).

PR Close #46903
2022-07-21 08:27:31 +00: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 test: update acceptance core tests to work with es2015 (#44505) 2022-01-05 23:20:21 +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 test: remove Ivy/ViewEngine switch helpers and obsolete tests (#44120) 2021-11-24 19:42:39 +00: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 build: bundle spec files for saucelabs legacy job (#44281) 2021-11-30 11:56:04 -05:00
copy_definition_feature_spec.ts test: remove Ivy/ViewEngine switch helpers and obsolete tests (#44120) 2021-11-24 19:42:39 +00:00
debug_spec.ts perf(core): avoid storing LView in __ngContext__ (#45051) 2022-02-18 13:32:11 -08: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 feat(core): options object to supersede bit flags for inject() (#46649) 2022-07-01 10:21:18 -07:00
directive_spec.ts refactor: fix various typos across different packages (#44523) 2022-01-07 18:11:10 +00:00
discover_utils_spec.ts perf(core): avoid storing LView in __ngContext__ (#45051) 2022-02-18 13:32:11 -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 refactor(core): NgModuleRef should not implement EnvironmentInjector interface (#46896) 2022-07-20 08:49:15 -07: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
i18n_spec.ts test(core): add a test for multiple named interpolations with the same name (#45651) 2022-04-15 13:51:55 -07: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 fix(core): incorrectly inserting elements inside <template> element (#43429) 2022-03-08 10:22:18 -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 fix(core): improve the missing control flow directive message (#46903) 2022-07-21 08:27:31 +00:00
ngdevmode_debug_spec.ts perf(core): avoid storing LView in __ngContext__ (#45051) 2022-02-18 13:32:11 -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 ci: add lint error for files with missing trailing new-line (#42478) 2021-06-04 13:31:03 -07: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 fix(core): deduplicate imports of standalone components in JIT compiler (#46439) 2022-06-21 12:41:16 -07: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