From 399bc90f59057b60f060d77a4b1bfd40320da073 Mon Sep 17 00:00:00 2001 From: Radon Rosborough Date: Mon, 16 Aug 2021 15:54:37 -0700 Subject: [PATCH] Oops we need to explicitly start LSP now --- backend/test-runner.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/test-runner.js b/backend/test-runner.js index cccc686..3ca350f 100644 --- a/backend/test-runner.js +++ b/backend/test-runner.js @@ -288,6 +288,9 @@ class Test { ? template.indexOf(after) + after.length : template.length; const code = template.slice(0, idx) + insertedCode + template.slice(idx); + this.send({ + event: "lspStart", + }); const root = await this.wait("lspStarted message", (msg) => { if (msg.event === "lspStarted") { return msg.root;