From ef20053e722f21535d3b39e8c3ffb6bf54729dff Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 21 Dec 2025 00:22:46 +0100 Subject: [PATCH] style(tests): format gateway server test --- src/gateway/server.test.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gateway/server.test.ts b/src/gateway/server.test.ts index 4fc68d21a..7b1258550 100644 --- a/src/gateway/server.test.ts +++ b/src/gateway/server.test.ts @@ -193,8 +193,10 @@ vi.mock("../config/config.js", () => { gateway: testGatewayBind ? { bind: testGatewayBind } : undefined, cron: (() => { const cron: Record = {}; - if (typeof testCronEnabled === "boolean") cron.enabled = testCronEnabled; - if (typeof testCronStorePath === "string") cron.store = testCronStorePath; + if (typeof testCronEnabled === "boolean") + cron.enabled = testCronEnabled; + if (typeof testCronStorePath === "string") + cron.store = testCronStorePath; return Object.keys(cron).length > 0 ? cron : undefined; })(), }),