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 = {