From c953d4cdad6e08756be6df66cd058cad51bf6d2d Mon Sep 17 00:00:00 2001 From: woodser <13068859+woodser@users.noreply.github.com> Date: Wed, 28 May 2025 08:11:28 -0400 Subject: [PATCH] adjust boostrap test to resolve dispute 2/3 times --- src/HavenoClient.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HavenoClient.test.ts b/src/HavenoClient.test.ts index d86b8b48..e114d515 100644 --- a/src/HavenoClient.test.ts +++ b/src/HavenoClient.test.ts @@ -2453,7 +2453,7 @@ test("Can bootstrap a network", async () => { if (ctxP.buyerDisputeContext === undefined) ctxP.buyerDisputeContext = getRandomOutcome(1/14) ? DisputeContext.OPEN_AFTER_PAYMENT_SENT : undefined; if (ctxP.sellerDisputeContext === undefined) ctxP.sellerDisputeContext = getRandomOutcome(1/14) ? DisputeContext.OPEN_AFTER_DEPOSITS_UNLOCK : undefined; if (ctxP.sellerDisputeContext === undefined) ctxP.sellerDisputeContext = getRandomOutcome(1/14) ? DisputeContext.OPEN_AFTER_PAYMENT_SENT : undefined; - if (ctxP.resolveDispute === undefined) ctxP.resolveDispute = getRandomOutcome(5/7); + if (ctxP.resolveDispute === undefined) ctxP.resolveDispute = getRandomOutcome(2/3); return TradeContext.init(ctxP); }