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", () => { 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");