From 9480118041f14ac744f7c964643deddd56986ac3 Mon Sep 17 00:00:00 2001 From: woodser Date: Thu, 27 Jul 2023 09:57:40 -0400 Subject: [PATCH] don't test payout unlock by default --- src/HavenoClient.test.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/HavenoClient.test.ts b/src/HavenoClient.test.ts index 761778ec..8dea3e81 100644 --- a/src/HavenoClient.test.ts +++ b/src/HavenoClient.test.ts @@ -179,7 +179,7 @@ const TestConfig = { maxConcurrencyCI: 7, // CI test max concurrency stopOnFailure: true, testPayoutConfirmed: true, - testPayoutUnlocked: true + testPayoutUnlocked: false } }; @@ -1367,7 +1367,8 @@ test("Can complete a trade within a range", async () => { price: 150, offerAmount: HavenoUtils.xmrToAtomicUnits(1), offerMinAmount: HavenoUtils.xmrToAtomicUnits(.15), - tradeAmount: HavenoUtils.xmrToAtomicUnits(.18) + tradeAmount: HavenoUtils.xmrToAtomicUnits(.18), + testPayoutUnlocked: true, // override to test unlock }); }); @@ -1471,6 +1472,7 @@ test("Can go offline while resolving disputes (CI)", async () => { disputeWinner: DisputeResult.Winner.SELLER, disputeReason: DisputeResult.Reason.NO_REPLY, disputeSummary: "Seller wins dispute because buyer has not replied", + testTradePayoutUnlock: true }); // fund traders