summaryrefslogtreecommitdiff
path: root/test_util/src
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-06-13 09:24:22 -0400
committerGitHub <noreply@github.com>2023-06-13 09:24:22 -0400
commit39bf1d2fd50a6921eef9e8f9a3f28c3c2b86d0fe (patch)
treeddd025dc3aee29e870c99a172fa3c3b1eeef39cf /test_util/src
parent07cbec4a822ea1b535511195217138d6e8b679ef (diff)
fix(lsp): update import map config when deno.json changes (#19476)
Half of #19468
Diffstat (limited to 'test_util/src')
-rw-r--r--test_util/src/lsp.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/test_util/src/lsp.rs b/test_util/src/lsp.rs
index 462779b3a..cd546bd6c 100644
--- a/test_util/src/lsp.rs
+++ b/test_util/src/lsp.rs
@@ -655,6 +655,10 @@ impl LspClient {
self.write_response(id, result);
}
+ pub fn did_change_watched_files(&mut self, params: Value) {
+ self.write_notification("workspace/didChangeWatchedFiles", params);
+ }
+
fn get_latest_diagnostic_batch_index(&mut self) -> usize {
let result = self
.write_request("deno/internalLatestDiagnosticBatchIndex", json!(null));