Skip to content

Commit

Permalink
fix: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jahabeebs committed Sep 11, 2024
1 parent 2215c57 commit 501eb25
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,10 @@ describe("EboActor", () => {
vi.spyOn(registry, "getResponses").mockReturnValue(reverseResponses);
vi.spyOn(registry, "getDispute").mockReturnValue(firstResponseDispute);

const mockFinalize = vi.spyOn(protocolProvider, "finalize");
const mockFinalize = vi.spyOn(protocolProvider, "finalize").mockImplementation(() => {
console.log("Mocked finalize method called");
return Promise.resolve();
});

const newBlock =
secondResponse.createdAt + request.prophetData.responseModuleData.disputeWindow;
Expand Down

0 comments on commit 501eb25

Please sign in to comment.