title: How does one unit test Redux set up with Redux Tool Kit's 'createSlice'?
body: <p>I'm looking into how to unit test the Redux code for our project using Jest.  I've been reading through the <a href="https://redux.js.org/recipes/writing-tests" rel="noreferrer">'official' Redux recommendations</a>, but our code differs from the Redux setup they're referencing since we used the <a href="https://redux-toolkit.js.org/" rel="noreferrer">Redux Tool Kit</a> (RTK) and '<a href="https://redux.js.org/recipes/writing-tests#async-action-creators" rel="noreferrer">createSlice</a>', which automates some of the process, such as action creator creation. How do we unit test the Redux created by the RTK and <code>createSlice</code>? Since, for instance, the action creators are created automatically, does testing them make any sense?  In general, since much of the RTK setup is automatic, what do we need to test?  Does the Redux Tool Kit have any tools to make this easier? (I do not see any).  </p>
  
  <p>In addition, we also have Redux Thunks, which we've set up 'by hand'.  We see what the <a href="https://redux.js.org/recipes/writing-tests#async-action-creators" rel="noreferrer">Redux documentation recommends</a>, but with reference to the above, should we handle this testing differently since we set up the main Redux using the RTK and <code>createSlice</code>?</p>
  
  <p>Finally, the API calls on which the Redux depends run through Apollo Client. I see <a href="https://www.apollographql.com/docs/react/development-testing/testing/" rel="noreferrer">Apollo´s recommendations on how to test React with the React client</a>.  To test Redux, should we mock the Apollo Client using something like <a href="https://www.npmjs.com/package/mock-apollo-client" rel="noreferrer">https://www.npmjs.com/package/mock-apollo-client</a> ? </p>