How to write tests ( Jest + Enzyme ) for extraReducers of createSlice ()?
I have started to create my application using @reduxjs/toolkit and kind of got stuck. I find no resource anywhere which can guide me with how to unit tests the logic in extraReducers. Any help would be appreciable. Example: Example: const fetchList = createAsyncThunk('example/fetchList', async ({skip, reset, ...rest}) => { const request = { skip: reset ?