From f9098c9658aa8713ab789f8bce124f5d24a4a051 Mon Sep 17 00:00:00 2001 From: Serkan Calis Date: Sun, 15 Sep 2024 03:43:39 +0300 Subject: [PATCH] revert the failing test --- test/PokemonPage.jest.spec.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 () => {