title: Test callback prop with Enzyme
body: <p>I have React-Spring animation in my component:</p>
  
  <pre><code>&lt;SpinnerKf state={status} onRest={changeView &amp;&amp; status === 'SUCCESS' ? () =&gt; changeView(VIEW_MODES.RECEIPT) : null}&gt;
      ....
  &lt;/SpinnerKf&gt;
  </code></pre>
  
  <p>Where I pass function call inside <code>onRest</code> prop - this is the prop from React-Spring Keyframe, which is called after animation end. </p>
  
  <p>How can I cover this with a test? I'm opened for any tricks, just need to avoid complaining in test coverage.</p>