From 54bd031092d5f6dc86ea8402ffc0340e1f654d23 Mon Sep 17 00:00:00 2001 From: Jason Zhu Date: Tue, 28 Mar 2023 22:46:53 +1100 Subject: [PATCH] Implement getRegionPokemonList with queryFn and related test cases (fix) --- src/features/Pokedex/__test__/pokedexApi.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/Pokedex/__test__/pokedexApi.test.ts b/src/features/Pokedex/__test__/pokedexApi.test.ts index 432528c..69da916 100644 --- a/src/features/Pokedex/__test__/pokedexApi.test.ts +++ b/src/features/Pokedex/__test__/pokedexApi.test.ts @@ -115,7 +115,7 @@ describe('pokedexApi', () => { expect(pokemonListData?.previous).toBeUndefined(); }); - test('query getRegionPokemonList for kanto should return correct data in list', async () => { + test('query getRegionPokemonList for johto should return correct data in list', async () => { await store.dispatch( pokedexApi.endpoints.getRegionPokemonList.initiate('johto'), );