diff --git a/test/PokemonPage.jest.spec.jsx b/test/PokemonPage.jest.spec.jsx index d3797d500f..9951844667 100644 --- a/test/PokemonPage.jest.spec.jsx +++ b/test/PokemonPage.jest.spec.jsx @@ -114,7 +114,7 @@ describe('', () => { }) 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 () => {