You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are doing integration tests with our react app but couldn't create the store with preloadedState
Unexpected key "injectedSlice" found in preloadedState argument passed to createStore. Expected to find one of the known reducer keys instead: ....
As I understand because we don't initialize the reducer when configure the store so it could not understand in test. Maybe I have to create another version of configureStore for testing only?
The text was updated successfully, but these errors were encountered:
We are doing integration tests with our react app but couldn't create the store with
preloadedState
As I understand because we don't initialize the reducer when configure the store so it could not understand in test. Maybe I have to create another version of
configureStore
for testing only?The text was updated successfully, but these errors were encountered: