From 5d81dc96d0bae7077d15556dd75d308cbb867746 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Wed, 14 Feb 2024 00:30:00 +0300 Subject: [PATCH] wip --- vscode-web/main.test.ts | 8 ++++---- vscode-web/run.sh | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/vscode-web/main.test.ts b/vscode-web/main.test.ts index 2e992e5..cd063c0 100644 --- a/vscode-web/main.test.ts +++ b/vscode-web/main.test.ts @@ -41,9 +41,9 @@ describe("vscode-web", async () => { expect(output.exitCode).toBe(1); expect(output.stdout).toEqual([ "\u001b[0;1mInstalling Microsoft Visual Studio Code Server!", - "Failed to install vscode-server:", // TODO: manually test error log + "Failed to install Microsoft Visual Studio Code Server:", // TODO: manually test error log ]); - }); + }, 15000); it("runs with curl", async () => { const state = await runTerraformApply(import.meta.dir, { @@ -54,10 +54,10 @@ describe("vscode-web", async () => { expect(output.exitCode).toBe(0); expect(output.stdout).toEqual([ "\u001b[0;1mInstalling Microsoft Visual Studio Code Server!", - "🥳 vscode-server has been installed.", + "🥳 Microsoft Visual Studio Code Server has been installed.", "", "👷 Running /tmp/vscode-web/bin/code-server serve-local --port 13338 --accept-server-license-terms serve-local --without-connection-token --telemetry-level error in the background...", "Check logs at /tmp/vscode-web.log!", ]); - }); + }, 15000); }); diff --git a/vscode-web/run.sh b/vscode-web/run.sh index d0f00f0..5977440 100644 --- a/vscode-web/run.sh +++ b/vscode-web/run.sh @@ -28,7 +28,6 @@ if [ $? -ne 0 ]; then fi printf "$${BOLD}Microsoft Visual Studio Code Server has been installed.\n" - VSCODE_SERVER="${INSTALL_PREFIX}/bin/code-server" # Install each extension...