From 67d2c7dacd2b4c2bad7731caaf48e52cd083fa72 Mon Sep 17 00:00:00 2001 From: ajnart <49837342+ajnart@users.noreply.github.com> Date: Mon, 6 Jul 2026 00:07:03 +0000 Subject: [PATCH] style: auto-fix lint and format --- .../test/unifi-controller-integration.spec.ts | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/packages/integrations/src/unifi-controller/test/unifi-controller-integration.spec.ts b/packages/integrations/src/unifi-controller/test/unifi-controller-integration.spec.ts index b2a83c7b0..83ba28aee 100644 --- a/packages/integrations/src/unifi-controller/test/unifi-controller-integration.spec.ts +++ b/packages/integrations/src/unifi-controller/test/unifi-controller-integration.spec.ts @@ -80,35 +80,27 @@ describe("UnifiControllerIntegration port resolution", () => { controllerCtor.mockClear(); await createIntegration("http://192.168.1.1").getNetworkSummaryAsync(); - expect(controllerCtor).toHaveBeenCalledWith( - expect.objectContaining({ host: "192.168.1.1", port: 8443 }), - ); + expect(controllerCtor).toHaveBeenCalledWith(expect.objectContaining({ host: "192.168.1.1", port: 8443 })); }); test("https://controller.lan:8443 keeps the user-specified port", async () => { controllerCtor.mockClear(); await createIntegration("https://controller.lan:8443").getNetworkSummaryAsync(); - expect(controllerCtor).toHaveBeenCalledWith( - expect.objectContaining({ host: "controller.lan", port: 8443 }), - ); + expect(controllerCtor).toHaveBeenCalledWith(expect.objectContaining({ host: "controller.lan", port: 8443 })); }); test("https://192.168.1.1:8443 keeps the user-specified port", async () => { controllerCtor.mockClear(); await createIntegration("https://192.168.1.1:8443").getNetworkSummaryAsync(); - expect(controllerCtor).toHaveBeenCalledWith( - expect.objectContaining({ host: "192.168.1.1", port: 8443 }), - ); + expect(controllerCtor).toHaveBeenCalledWith(expect.objectContaining({ host: "192.168.1.1", port: 8443 })); }); test("an unusual port like 10443 is honored verbatim", async () => { controllerCtor.mockClear(); await createIntegration("https://192.168.1.1:10443").getNetworkSummaryAsync(); - expect(controllerCtor).toHaveBeenCalledWith( - expect.objectContaining({ host: "192.168.1.1", port: 10443 }), - ); + expect(controllerCtor).toHaveBeenCalledWith(expect.objectContaining({ host: "192.168.1.1", port: 10443 })); }); });