mirror of https://github.com/coder/code-server.git
Fix extension installation test
This throws now that the exit is non-zero.
This commit is contained in:
parent
bec6ab2678
commit
73e615da4e
|
@ -13,9 +13,10 @@ describe("--install-extension", () => {
|
||||||
})
|
})
|
||||||
it("should use EXTENSIONS_GALLERY when set", async () => {
|
it("should use EXTENSIONS_GALLERY when set", async () => {
|
||||||
const extName = "author.extension"
|
const extName = "author.extension"
|
||||||
const { stderr } = await runCodeServerCommand([...setupFlags, "--install-extension", extName], {
|
await expect(
|
||||||
EXTENSIONS_GALLERY: "{}",
|
runCodeServerCommand([...setupFlags, "--install-extension", extName], {
|
||||||
})
|
EXTENSIONS_GALLERY: "{}",
|
||||||
expect(stderr).toMatch("No extension gallery service configured")
|
}),
|
||||||
|
).rejects.toThrow("No extension gallery service configured")
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue