summaryrefslogtreecommitdiff
path: root/cli/tests
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2021-11-17 09:23:25 +1100
committerGitHub <noreply@github.com>2021-11-17 09:23:25 +1100
commitcc38580106095b1acf3c307dd6079076fec812e3 (patch)
treeb9df178cbdbc23b94a8a42ee1fe942c0e763bea8 /cli/tests
parentfd78953e1c241c8dd14686631a2509aec97f1167 (diff)
fix(lsp): retain module dependencies when parse is invalid (#12782)
Fixes #12753
Diffstat (limited to 'cli/tests')
-rw-r--r--cli/tests/integration/lsp_tests.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/tests/integration/lsp_tests.rs b/cli/tests/integration/lsp_tests.rs
index 96689f8a3..bf9258925 100644
--- a/cli/tests/integration/lsp_tests.rs
+++ b/cli/tests/integration/lsp_tests.rs
@@ -1066,10 +1066,10 @@ fn lsp_hover_dependency() {
);
}
-// Regression test for #12753
+// This tests for a regression covered by denoland/deno#12753 where the lsp was
+// unable to resolve dependencies when there was an invalid syntax in the module
#[test]
-#[ignore]
-fn lsp_hover_keep_type_info_after_invalid_syntax_change() {
+fn lsp_hover_deps_preserved_when_invalid_parse() {
let mut client = init("initialize_params.json");
did_open(
&mut client,