angular-docs-cn/packages/language-service/ivy/test/legacy
Andrew Scott a9d8c228d9 fix(language-service): Support 'go to definition' for two-way bindings (#40185)
Rather than expecting that a position in a template only targets a
single node, this commit adjusts the approach to account for two way
bindings. In particular, we attempt to get definitions for each targeted
node and then return the combination of all results, or `undefined` if
none of the target nodes had definitions.

PR Close #40185
2021-01-07 13:18:38 -08:00
..
BUILD.bazel test(language-service): move existing tests to legacy directory (#39594) 2020-11-17 11:59:56 -08:00
adapters_spec.ts test(language-service): add renamed, deleted test file (#39742) 2020-11-18 11:11:14 -08:00
compiler_factory_spec.ts test(language-service): move existing tests to legacy directory (#39594) 2020-11-17 11:59:56 -08:00
daignostic_spec.ts test(language-service): convert ivy diagnostics tests from legacy (#39957) 2020-12-04 10:16:43 -08:00
definitions_spec.ts fix(language-service): Support 'go to definition' for two-way bindings (#40185) 2021-01-07 13:18:38 -08:00
language_service_spec.ts refactor(compiler-cli): provide a host to readConfiguration (#39619) 2020-11-17 14:45:09 -08:00
mock_host.ts fix(language-service): return all typecheck files via getExternalFiles (#40162) 2021-01-06 11:34:15 -08:00
mock_host_spec.ts test(language-service): move existing tests to legacy directory (#39594) 2020-11-17 11:59:56 -08:00
template_target_spec.ts refactor(language-service): Have TemplateTarget recognize two way bindings (#40185) 2021-01-07 13:18:38 -08:00
test_utils.ts test(language-service): move existing tests to legacy directory (#39594) 2020-11-17 11:59:56 -08:00
ts_plugin_spec.ts fix(language-service): return all typecheck files via getExternalFiles (#40162) 2021-01-06 11:34:15 -08:00
type_definitions_spec.ts refactor(compiler-cli): Return addEventListener symbol for native output bindings (#39312) 2020-12-08 16:18:24 -08:00