mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2025-07-03 11:07:03 -04:00
adjust boostrap test to resolve dispute 2/3 times
This commit is contained in:
parent
a892cc569b
commit
c953d4cdad
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue