code>beforeEach(module(&#39;ngAnimateMock&#39;))</code></p>

</div>




<div>
  

  

  

  
<h2>Methods</h2>
<ul class="methods">
  <li id="closeAndFlush">
    <h3><p><code>closeAndFlush();</code></p>

</h3>
    <div><p>This method will close all pending animations (both <a href="api/ngAnimate#javascript-based-animations">Javascript</a>
and <a href="api/ngAnimate/service/$animateCss">CSS</a>) and it will also flush any remaining animation frames and/or callbacks.</p>
</div>

    

    

    

    </li>
  
