From 9187af88820d7d822667e54e7be90fd6e3582426 Mon Sep 17 00:00:00 2001 From: ajnart <49837342+ajnart@users.noreply.github.com> Date: Sat, 8 Aug 2026 11:02:04 +0000 Subject: [PATCH] style: auto-fix lint and format --- .../integration-test-connection.spec.ts | 20 ++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/packages/api/src/router/test/integration/integration-test-connection.spec.ts b/packages/api/src/router/test/integration/integration-test-connection.spec.ts index c9fc7b9ea..f88c62720 100644 --- a/packages/api/src/router/test/integration/integration-test-connection.spec.ts +++ b/packages/api/src/router/test/integration/integration-test-connection.spec.ts @@ -25,7 +25,9 @@ describe("testConnectionAsync should run test connection of integration", () => // Arrange const factorySpy = vi.spyOn(homarrIntegrations, "createIntegrationAsync"); const optionsSpy = vi.spyOn(homarrDefinitions, "getAllSecretKindOptions"); - factorySpy.mockResolvedValue(mockIntegration() as Awaited>); + factorySpy.mockResolvedValue( + mockIntegration() as Awaited>, + ); optionsSpy.mockReturnValue([["apiKey"]]); const integration = { @@ -64,7 +66,9 @@ describe("testConnectionAsync should run test connection of integration", () => // Arrange const factorySpy = vi.spyOn(homarrIntegrations, "createIntegrationAsync"); const optionsSpy = vi.spyOn(homarrDefinitions, "getAllSecretKindOptions"); - factorySpy.mockResolvedValue(mockIntegration() as Awaited>); + factorySpy.mockResolvedValue( + mockIntegration() as Awaited>, + ); optionsSpy.mockReturnValue([["apiKey"]]); const integration = { @@ -110,7 +114,9 @@ describe("testConnectionAsync should run test connection of integration", () => // Arrange const factorySpy = vi.spyOn(homarrIntegrations, "createIntegrationAsync"); const optionsSpy = vi.spyOn(homarrDefinitions, "getAllSecretKindOptions"); - factorySpy.mockResolvedValue(mockIntegration() as Awaited>); + factorySpy.mockResolvedValue( + mockIntegration() as Awaited>, + ); optionsSpy.mockReturnValue([["apiKey"]]); const integration = { @@ -156,7 +162,9 @@ describe("testConnectionAsync should run test connection of integration", () => // Arrange const factorySpy = vi.spyOn(homarrIntegrations, "createIntegrationAsync"); const optionsSpy = vi.spyOn(homarrDefinitions, "getAllSecretKindOptions"); - factorySpy.mockResolvedValue(mockIntegration() as Awaited>); + factorySpy.mockResolvedValue( + mockIntegration() as Awaited>, + ); optionsSpy.mockReturnValue([["username", "password"], ["apiKey"]]); const integration = { @@ -206,7 +214,9 @@ describe("testConnectionAsync should run test connection of integration", () => // Arrange const factorySpy = vi.spyOn(homarrIntegrations, "createIntegrationAsync"); const optionsSpy = vi.spyOn(homarrDefinitions, "getAllSecretKindOptions"); - factorySpy.mockResolvedValue(mockIntegration() as Awaited>); + factorySpy.mockResolvedValue( + mockIntegration() as Awaited>, + ); optionsSpy.mockReturnValue([["username", "password"], ["apiKey"]]); const integration = {