diff --git a/src/lib/actions/sandbox/destroy-gateway-runtime-evidence.test.ts b/src/lib/actions/sandbox/destroy-gateway-runtime-evidence.test.ts index 7975b8cba8d..b7dcb955bb0 100644 --- a/src/lib/actions/sandbox/destroy-gateway-runtime-evidence.test.ts +++ b/src/lib/actions/sandbox/destroy-gateway-runtime-evidence.test.ts @@ -19,7 +19,8 @@ vi.mock("node:child_process", () => ({ vi.mock("../../adapters/docker/volume", () => ({ dockerRemoveVolumesByPrefix: mocks.dockerRemoveVolumesByPrefix, })); -vi.mock("../../onboard/gateway-teardown-authority", () => ({ +vi.mock("../../onboard/gateway-teardown-authority", async (importOriginal) => ({ + ...(await importOriginal()), resolveGatewayTeardownAuthority: mocks.resolveGatewayTeardownAuthority, })); import { cleanupGatewayAfterLastSandbox } from "./destroy-gateway";