style(test): format update-cli test

This commit is contained in:
Peter Steinberger
2026-01-10 23:46:07 +01:00
parent 7a52a93d08
commit 1d9199b529

View File

@@ -26,15 +26,13 @@ vi.mock("../runtime.js", () => ({
}));
describe("update-cli", () => {
it(
"exports updateCommand and registerUpdateCli",
async () => {
const { updateCommand, registerUpdateCli } = await import("./update-cli.js");
expect(typeof updateCommand).toBe("function");
expect(typeof registerUpdateCli).toBe("function");
},
20_000,
);
it("exports updateCommand and registerUpdateCli", async () => {
const { updateCommand, registerUpdateCli } = await import(
"./update-cli.js"
);
expect(typeof updateCommand).toBe("function");
expect(typeof registerUpdateCli).toBe("function");
}, 20_000);
it("updateCommand runs update and outputs result", async () => {
const { runGatewayUpdate } = await import("../infra/update-runner.js");