title: Testing mapStateProps function using jest
body: <p>Can someone please help me to write a jest test case for  mapStateProps.
  I have read all the question everywhere but I was not able to releate to this.</p>
  <p>Component code</p>
  <pre><code>function mapStateToProps({ leftRecords}) {
  return { leftRecords};
  }
  </code></pre>
  <p>Reducer:</p>
  <pre><code>export const leftRecords= (state = {}, action) =&gt; {
  switch (action.type) {
  case FETCH_LEFT_RECORDS:
  return action.leftRecords;
  default:
  return state;
  }
  };
  </code></pre>
  <p>When I run the coverage it shows this function is not covered, I have no idea on how to write test case for mapStateProps, could someone please help me over this.</p>