Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
csillag committed Jun 14, 2023
1 parent ef75d82 commit c2850ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ describe('ShowMoreTokensLink', () => {
expect(screen.getByText('+ 3 more')).toBeInTheDocument()
expect(screen.getByRole('link')).toHaveAttribute(
'href',
'/mainnet/emerald/account/oasis1qrvha284gfztn7wwq6z50c86ceu28jp7csqhpx9t/tokens/erc-20#tokens',
'/mainnet/emerald/address/oasis1qrvha284gfztn7wwq6z50c86ceu28jp7csqhpx9t/tokens/erc-20#tokens',
)
})

Expand All @@ -85,7 +85,7 @@ describe('ShowMoreTokensLink', () => {
expect(screen.getByText('+ 1 more')).toBeInTheDocument()
expect(screen.getByRole('link')).toHaveAttribute(
'href',
'/mainnet/emerald/account/oasis1qrvha284gfztn7wwq6z50c86ceu28jp7csqhpx9t/tokens/erc-721#tokens',
'/mainnet/emerald/address/oasis1qrvha284gfztn7wwq6z50c86ceu28jp7csqhpx9t/tokens/erc-721#tokens',
)
})
})
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ describe('SearchResultsView', () => {
expect(screen.getByRole('link', { name: '10' })).toBeInTheDocument()
expect(screen.getByRole('link', { name: '10' })).toHaveAttribute(
'href',
'/mainnet/emerald/blocks/1396255#transactions',
'/mainnet/emerald/block/1396255#transactions',
)

expect(screen.getByText('143,553')).toBeInTheDocument()
Expand Down Expand Up @@ -81,7 +81,7 @@ describe('SearchResultsView', () => {
expect(screen.getByText('337325.43836… FTP')).toBeInTheDocument()
expect(screen.getByRole('link', { name: /337325.43836/ })).toHaveAttribute(
'href',
'/mainnet/emerald/account/0xBA504818FdD8D3dBA2Ef8fD9B4F4D5c71aD1d1D3/tokens/erc-20#oasis1qpssvkplnlpzdvwxpgmrhf9j5lkyvaylcvujhjhg',
'/mainnet/emerald/address/0xBA504818FdD8D3dBA2Ef8fD9B4F4D5c71aD1d1D3/tokens/erc-20#oasis1qpssvkplnlpzdvwxpgmrhf9j5lkyvaylcvujhjhg',
)
})
})

0 comments on commit c2850ef

Please sign in to comment.