Skip to content

Commit

Permalink
revert the failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
devserkan committed Sep 15, 2024
1 parent 852a295 commit f9098c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/PokemonPage.jest.spec.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ describe('<PokemonPage />', () => {
})

expect(screen.getByText('Previous')).toHaveAttribute('href', '/pokemon/ditto')
expect(screen.getByText('Previous')).toHaveAttribute('href', '/pokemon/vaporeon')
expect(screen.getByText('Next')).toHaveAttribute('href', '/pokemon/vaporeon')
})

it('should not render previous and next urls if none exist', async () => {
Expand Down

0 comments on commit f9098c9

Please sign in to comment.