How do I use Istanbul Code Coverage to cover functions that aren't exported
<p>I have some redux-thunk actions/async actions and Istanbul pointed that some no-exported functions aren't covered.</p>

<p>So, I was wondering there's a way to test that?
Also one of my async actions performs all sorts of if statements to make sure that the API is really returning infos, if not it returns an empty array (don't know if it's right, guess not(how should it be done then?))</p>

<p>here's an example screenshot of what I'm talking about:</p>

<p><a href="https://i.stack.imgur.com/ZtJHP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZtJHP.png" alt="enter image description here"></a>
<a href="https://i.stack.imgur.com/PN6u4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PN6u4.png" alt="enter image description here"></a></p>