Skip to content

Commit

Permalink
test: fix mockSendTransactions resolved value
Browse files Browse the repository at this point in the history
  • Loading branch information
drichar committed Aug 11, 2023
1 parent a924550 commit 616a260
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SendTransaction.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ describe('SendTransaction', () => {

it('successfully sends a transaction', async () => {
mockSignTransactions.mockResolvedValueOnce({ txId: 'mock_transaction_id' })
mockSendTransactions.mockResolvedValueOnce({ txId: 'mock_transaction_id' })
mockSendTransactions.mockResolvedValueOnce({ id: 'mock_transaction_id' })

render(<SendTransaction />)

Expand Down

0 comments on commit 616a260

Please sign in to comment.