Skip to content

Commit

Permalink
update err msg
Browse files Browse the repository at this point in the history
  • Loading branch information
canonbrother committed Feb 22, 2024
1 parent b1d6c76 commit 3fff342
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ describe('TransferDomain', () => {
}
])
await expect(promise).rejects.toThrow(RpcApiError)
await expect(promise).rejects.toThrow('Failed to create and sign TX: Invalid address')
await expect(promise).rejects.toThrow('Dst address must be an ERC55 address in case of "EVM" domain')
})

it('(evm -> dvm) should fail if src address is not ERC55 address in case of "EVM" domain', async () => {
Expand Down Expand Up @@ -488,7 +488,7 @@ describe('TransferDomain', () => {
}
])
await expect(promise).rejects.toThrow(RpcApiError)
await expect(promise).rejects.toThrow('Failed to create and sign TX: Invalid address')
await expect(promise).rejects.toThrow('Cannot transfer inside same domain')
})

it('(evm -> evm) should fail if transfer within same domain', async () => {
Expand Down

0 comments on commit 3fff342

Please sign in to comment.