angular-cn/packages/language-service/test
ayazhafiz adeee0fa7f feat(language-service): provide diagnostic for invalid templateUrls (#32586)
`templateUrls` that do not point to actual files are now diagnosed as such
by the Language Service. Support for `styleUrls` will come in a next PR.

This introduces a utility method `getPropertyValueOfType` that scans
TypeScript ASTs until a property assignment whose initializer of a
certain type is found. This PR also notices a couple of things that
could be improved in the language-service implementation, such as
enumerating directive properties and unifying common logic, that will be
fixed in future PRs.

Part of #32564.

PR Close #32586
2019-09-12 11:47:44 -07:00
..
BUILD.bazel build: update rules_nodejs and clean up bazel warnings (#30370) 2019-05-14 10:08:45 -07:00
completions_spec.ts refactor(language-service): move to using mockHost as much as possible (#32589) 2019-09-11 19:27:27 -04:00
definitions_spec.ts feat(language-service): add definitions for styleUrls (#32464) 2019-09-09 16:04:14 -04:00
diagnostics_spec.ts feat(language-service): provide diagnostic for invalid templateUrls (#32586) 2019-09-12 11:47:44 -07:00
hover_spec.ts refactor(language-service): cleanup tests for Hover (#32378) 2019-08-28 17:25:07 -07:00
html_info_spec.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
language_service_spec.ts refactor: clean up language service from unused code and imports (#30534) 2019-05-17 13:32:06 -07:00
reflector_host_spec.ts fix(language-service): Lazily instantiate MetadataResolver (#32631) 2019-09-12 10:24:32 -07:00
template_references_spec.ts refactor(language-service): Remove NgLSHost -> NgLS dependency (#31122) 2019-06-19 15:19:56 -07:00
template_spec.ts refactor(language-service): add generic decorator property verifications (#32252) 2019-08-22 16:04:14 -07:00
test_data.ts feat(language-service): add definitions for styleUrls (#32464) 2019-09-09 16:04:14 -04:00
test_utils.ts test(language-service): Make tests better by adding more assertions (#32630) 2019-09-12 10:23:51 -07:00
ts_plugin_spec.ts feat(language-service): Introduce 'angularOnly' flag (#31935) 2019-08-01 17:43:21 -07:00
typescript_host_spec.ts test(language-service): Make tests better by adding more assertions (#32630) 2019-09-12 10:23:51 -07:00
utils_spec.ts refactor(language-service): Omit typechecking for finding directives (#32156) 2019-08-16 09:58:28 -07:00