title: e2e testing and $timeout
body: <p>In my app I have a $timeout that fires every minute and schedules another $timeout. Because of this my e2e tests wait for $timeout and don't want to work at all. As I understand there is no way to say karma not to wait for certain $timeout. But is there a way to detect that code is running in karma environment and don't run this $timeout at all?</p>