Skip to content

Commit

Permalink
Merge pull request #15 from devserkan/test-discord-notify-failure
Browse files Browse the repository at this point in the history
revert the failing test
  • Loading branch information
devserkan authored Sep 15, 2024
2 parents a2b21ff + f9098c9 commit c3c4c0e
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 c3c4c0e

Please sign in to comment.