Check if Ember is in testing mode
<p>Does anyone know how to check if Ember is in testing mode?</p>

<p>I'm writing acceptance tests in Ember, and they are made difficult by some jQuery animations in the app, which run asynchronously outside of Ember's run loop and won't complete until after the test has already finished. Using wait helpers like <code>andThen(...)</code> doesn't wait for the animations to finish, because they are outside the run loop.</p>

<p>I don't really need to do acceptance testing of the animations, just of the DOM state after the animations finish, so to make things simple I'd like to disable the animations during acceptance testing. So I need to be able to check if Ember is in testing mode.</p>

<p>I am using Ember version 1.10.1</p>