Implement getRegionPokemonList with queryFn and related test cases (fix)

develop
Jason Zhu 2023-03-28 22:46:53 +11:00
parent f4da542ecd
commit 54bd031092
1 changed files with 1 additions and 1 deletions

View File

@ -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'),
);