From 6745a46034c7e15203c94f571d0ab1e49b497443 Mon Sep 17 00:00:00 2001 From: Asher Date: Mon, 15 May 2023 20:54:37 -0800 Subject: [PATCH] Fix extension install test This is not a valid ID (to install a specific version you use @) and, quite strangely, Code is now returning an "extension not found" error if the ID is invalid, breaking the test since we expect it to error about the marketplace not existing. --- test/integration/installExtension.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/installExtension.test.ts b/test/integration/installExtension.test.ts index 9f3b69d14..3c4432b73 100644 --- a/test/integration/installExtension.test.ts +++ b/test/integration/installExtension.test.ts @@ -12,7 +12,7 @@ describe("--install-extension", () => { setupFlags = ["--extensions-dir", tempDir] }) it("should use EXTENSIONS_GALLERY when set", async () => { - const extName = `author.extension-1.0.0` + const extName = "author.extension" const { stderr } = await runCodeServerCommand([...setupFlags, "--install-extension", extName], { EXTENSIONS_GALLERY: "{}", })