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 () => {
|
||||
const extName = "author.extension"
|
||||
const { stderr } = await runCodeServerCommand([...setupFlags, "--install-extension", extName], {
|
||||
EXTENSIONS_GALLERY: "{}",
|
||||
})
|
||||
expect(stderr).toMatch("No extension gallery service configured")
|
||||
await expect(
|
||||
runCodeServerCommand([...setupFlags, "--install-extension", extName], {
|
||||
EXTENSIONS_GALLERY: "{}",
|
||||
}),
|
||||
).rejects.toThrow("No extension gallery service configured")
|
||||
})
|
||||
})
|
||||
|
Reference in New Issue
Block a user