Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Commit

Permalink
refactor: transfer & multipayment in single modal (#1904)
Browse files Browse the repository at this point in the history
  • Loading branch information
brenopolanski authored May 5, 2020
1 parent 104c0e3 commit 9923ca6
Show file tree
Hide file tree
Showing 15 changed files with 905 additions and 1,677 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ describe('TransactionConfirmMultiPayment', () => {
for (const recipientIndex in wrapper.vm.transaction.asset.payments) {
const recipient = wrapper.vm.transaction.asset.payments[recipientIndex]
const recipientElement = recipients.at(recipientIndex)
const addressText = recipientElement.find('.TransactionMultiPaymentList__recipient').text().replace('TRANSACTION.RECIPIENT:', '')
const amountText = recipientElement.find('.TransactionMultiPaymentList__amount').text().replace('TRANSACTION.AMOUNT:', '')
const addressText = recipientElement.find('.TransactionRecipientList__recipient').text().replace('TRANSACTION.RECIPIENT:', '')
const amountText = recipientElement.find('.TransactionRecipientList__amount').text().replace('TRANSACTION.AMOUNT:', '')

expect(addressText.trim()).toBe(recipient.address)
expect(amountText.trim()).toBe(recipient.amount)
Expand Down
Loading

0 comments on commit 9923ca6

Please sign in to comment.