mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2025-05-03 23:25:18 -04:00
update test exceeding offer limits
This commit is contained in:
parent
a7dc0fa89c
commit
956325fc3c
1 changed files with 2 additions and 2 deletions
|
@ -1550,7 +1550,7 @@ test("Cannot post offer exceeding trade limit (CI, sanity check)", async () => {
|
||||||
// test posting buy offer above limit
|
// test posting buy offer above limit
|
||||||
try {
|
try {
|
||||||
await executeTrade({
|
await executeTrade({
|
||||||
offerAmount: moneroTs.MoneroUtils.xmrToAtomicUnits(2.6),
|
offerAmount: moneroTs.MoneroUtils.xmrToAtomicUnits(3.1),
|
||||||
direction: OfferDirection.BUY,
|
direction: OfferDirection.BUY,
|
||||||
assetCode: assetCode,
|
assetCode: assetCode,
|
||||||
makerPaymentAccountId: account.getId(),
|
makerPaymentAccountId: account.getId(),
|
||||||
|
@ -1564,7 +1564,7 @@ test("Cannot post offer exceeding trade limit (CI, sanity check)", async () => {
|
||||||
// test posting sell offer above limit
|
// test posting sell offer above limit
|
||||||
try {
|
try {
|
||||||
await executeTrade({
|
await executeTrade({
|
||||||
offerAmount: moneroTs.MoneroUtils.xmrToAtomicUnits(8.1),
|
offerAmount: moneroTs.MoneroUtils.xmrToAtomicUnits(12.1),
|
||||||
direction: OfferDirection.SELL,
|
direction: OfferDirection.SELL,
|
||||||
assetCode: assetCode,
|
assetCode: assetCode,
|
||||||
makerPaymentAccountId: account.getId(),
|
makerPaymentAccountId: account.getId(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue