From 8e7d7ed35f2a2f621f0719cd149b591a1e37ffb4 Mon Sep 17 00:00:00 2001 From: Roo Code Date: Sun, 13 Jul 2025 03:52:38 +0000 Subject: [PATCH] fix: resolve ESLint warnings for any types in test file --- packages/evals/src/cli/runTask.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/evals/src/cli/runTask.test.ts b/packages/evals/src/cli/runTask.test.ts index b0bf6b52d4..e043911148 100644 --- a/packages/evals/src/cli/runTask.test.ts +++ b/packages/evals/src/cli/runTask.test.ts @@ -110,7 +110,7 @@ describe("runTask execution methods", () => { it("should retry on failure", async () => { const execaMock = vi.mocked(await import("execa")).execa execaMock.mockClear() - execaMock.mockRejectedValueOnce(new Error("Container failed")).mockResolvedValueOnce({ exitCode: 0 } as any) + execaMock.mockRejectedValueOnce(new Error("Container failed")).mockResolvedValueOnce({ exitCode: 0 } as any) // eslint-disable-line @typescript-eslint/no-explicit-any await processTaskInDocker({ taskId: 123, @@ -149,7 +149,7 @@ describe("runTask execution methods", () => { const { AzureContainerAppsExecutor } = await import("./azureContainerApps.js") const mockExecutor = vi.mocked(AzureContainerAppsExecutor) const mockExecuteJob = vi.fn().mockResolvedValue(undefined) - mockExecutor.mockImplementation(() => ({ executeJob: mockExecuteJob }) as any) + mockExecutor.mockImplementation(() => ({ executeJob: mockExecuteJob }) as any) // eslint-disable-line @typescript-eslint/no-explicit-any await processTaskInAzureContainerApps({ taskId: 123, @@ -178,7 +178,7 @@ describe("runTask execution methods", () => { const { AzureContainerAppsExecutor } = await import("./azureContainerApps.js") const mockExecutor = vi.mocked(AzureContainerAppsExecutor) const mockExecuteJob = vi.fn().mockRejectedValue(new Error("Azure execution failed")) - mockExecutor.mockImplementation(() => ({ executeJob: mockExecuteJob }) as any) + mockExecutor.mockImplementation(() => ({ executeJob: mockExecuteJob }) as any) // eslint-disable-line @typescript-eslint/no-explicit-any await expect( processTaskInAzureContainerApps({