mirror of
https://github.com/coder/code-server.git
synced 2024-11-26 03:01:34 +03:00
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]
|
||||
})
|
||||
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: "{}",
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user