mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2025-11-30 11:06:48 -05:00
fix error message in tests
This commit is contained in:
parent
93b7696c16
commit
66f95abb25
1 changed files with 1 additions and 1 deletions
|
|
@ -1636,7 +1636,7 @@ test("Can post, deactivate, activate, edit, and remove an offer (Test, CI, sanit
|
|||
// peer sees edited offer
|
||||
await wait(TestConfig.trade.maxTimePeerNoticeMs);
|
||||
peerOffer = getOffer(await user2.getOffers(assetCode, TestConfig.trade.direction), offer.getId());
|
||||
if (!peerOffer) throw new Error("Offer " + offer.getId() + " was not found in peer's offers after posted");
|
||||
if (!peerOffer) throw new Error("Offer " + offer.getId() + " was not found in peer's offers after edited");
|
||||
testOffer(peerOffer, ctx, false);
|
||||
expect(peerOffer.getExtraInfo()).toContain("My edited extra info");
|
||||
expect(parseFloat(peerOffer.getPrice())).toEqual(170);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue