From ab18cfaf8b0bb3c6a4180dd03d71b33f94023d2a Mon Sep 17 00:00:00 2001 From: Yaco 0x Date: Mon, 28 Oct 2024 15:37:00 +0100 Subject: [PATCH] test: fix settling dispute test --- .../tests/services/eboActor/onLastBlockupdated.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/automated-dispute/tests/services/eboActor/onLastBlockupdated.spec.ts b/packages/automated-dispute/tests/services/eboActor/onLastBlockupdated.spec.ts index 22130775..70eeaad3 100644 --- a/packages/automated-dispute/tests/services/eboActor/onLastBlockupdated.spec.ts +++ b/packages/automated-dispute/tests/services/eboActor/onLastBlockupdated.spec.ts @@ -138,6 +138,7 @@ describe("EboActor", () => { // Skipping finalize flow with this mock vi.spyOn(registry, "getResponses").mockReturnValue([]); vi.spyOn(registry, "getDisputes").mockReturnValue([dispute]); + actor["canBeSettled"] = vi.fn().mockReturnValue(true); const newBlockNumber = disputeDeadline + 1n;