mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2024-12-28 08:49:39 -05:00
test arbitrator closed trade
This commit is contained in:
parent
2f708ee60c
commit
1e9ba7fa6e
@ -1283,6 +1283,10 @@ test("Can complete a trade", async () => {
|
||||
expect(user1Fee).toBeGreaterThan(BigInt("0"));
|
||||
expect(user2Fee).toBeLessThanOrEqual(TestConfig.maxFee);
|
||||
expect(user2Fee).toBeGreaterThan(BigInt("0"));
|
||||
|
||||
// arbitrator trade is closed
|
||||
const arbitratorTrade = await arbitrator.getTrade(trade.getTradeId());
|
||||
expect(arbitratorTrade.getState()).toEqual("WITHDRAW_COMPLETED");
|
||||
});
|
||||
|
||||
// TODO: refactor to common trade completion test methods
|
||||
|
Loading…
Reference in New Issue
Block a user