mirror of https://github.com/coder/code-server.git
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.
This commit is contained in:
parent
43ef50b404
commit
6745a46034
|
@ -12,7 +12,7 @@ describe("--install-extension", () => {
|
||||||
setupFlags = ["--extensions-dir", tempDir]
|
setupFlags = ["--extensions-dir", tempDir]
|
||||||
})
|
})
|
||||||
it("should use EXTENSIONS_GALLERY when set", async () => {
|
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], {
|
const { stderr } = await runCodeServerCommand([...setupFlags, "--install-extension", extName], {
|
||||||
EXTENSIONS_GALLERY: "{}",
|
EXTENSIONS_GALLERY: "{}",
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue