redux-toolkit
redux-toolkit copied to clipboard
Need an example of how to test an async thunk with rtk query inside
Need an example of how to test code like this.
Thunk Action
Test file
An error I caught
sessionApi.endpoints.login.initiate it's a second call where an error happens