Skip to content

Commit 6745a46

Browse files
committed
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.
1 parent 43ef50b commit 6745a46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/installExtension.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ describe("--install-extension", () => {
1212
setupFlags = ["--extensions-dir", tempDir]
1313
})
1414
it("should use EXTENSIONS_GALLERY when set", async () => {
15-
const extName = `author.extension-1.0.0`
15+
const extName = "author.extension"
1616
const { stderr } = await runCodeServerCommand([...setupFlags, "--install-extension", extName], {
1717
EXTENSIONS_GALLERY: "{}",
1818
})

0 commit comments

Comments
 (0)