mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2025-09-19 12:14:36 -04:00
test arbitrator closed trade
This commit is contained in:
parent
2f708ee60c
commit
1e9ba7fa6e
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue