style(test): format update-cli test
This commit is contained in:
@@ -26,15 +26,13 @@ vi.mock("../runtime.js", () => ({
|
|||||||
}));
|
}));
|
||||||
|
|
||||||
describe("update-cli", () => {
|
describe("update-cli", () => {
|
||||||
it(
|
it("exports updateCommand and registerUpdateCli", async () => {
|
||||||
"exports updateCommand and registerUpdateCli",
|
const { updateCommand, registerUpdateCli } = await import(
|
||||||
async () => {
|
"./update-cli.js"
|
||||||
const { updateCommand, registerUpdateCli } = await import("./update-cli.js");
|
);
|
||||||
expect(typeof updateCommand).toBe("function");
|
expect(typeof updateCommand).toBe("function");
|
||||||
expect(typeof registerUpdateCli).toBe("function");
|
expect(typeof registerUpdateCli).toBe("function");
|
||||||
},
|
}, 20_000);
|
||||||
20_000,
|
|
||||||
);
|
|
||||||
|
|
||||||
it("updateCommand runs update and outputs result", async () => {
|
it("updateCommand runs update and outputs result", async () => {
|
||||||
const { runGatewayUpdate } = await import("../infra/update-runner.js");
|
const { runGatewayUpdate } = await import("../infra/update-runner.js");
|
||||||
|
|||||||
Reference in New Issue
Block a user