up
This commit is contained in:
parent
7fb446a6e5
commit
d5bed450a2
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ const testSpamExternalPayment = async (T: TestBase) => {
|
|||
const successfulPayments = res.filter(r => r.success)
|
||||
const failedPayments = res.filter(r => !r.success)
|
||||
console.log(failedPayments)
|
||||
failedPayments.forEach(f => expect(f.err).to.be.equal("Error: not enough balance to decrement"))
|
||||
failedPayments.forEach(f => expect(f.err).to.be.equal("not enough balance to decrement"))
|
||||
successfulPayments.forEach(s => expect(s.result).to.contain({ amount_paid: 500, network_fee: 1, service_fee: 3 }))
|
||||
expect(successfulPayments.length).to.be.equal(3)
|
||||
expect(failedPayments.length).to.be.equal(7)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue