Do not run timers in testing.
This commit is contained in:
parent
3db8a7624b
commit
a789fdab6f
|
@ -10,7 +10,8 @@ Travis.RepoController = Travis.Controller.extend
|
|||
|
||||
init: ->
|
||||
@_super.apply this, arguments
|
||||
Visibility.every Travis.INTERVALS.updateTimes, @updateTimes.bind(this)
|
||||
if !Ember.testing
|
||||
Visibility.every Travis.INTERVALS.updateTimes, @updateTimes.bind(this)
|
||||
|
||||
updateTimes: ->
|
||||
Ember.run this, ->
|
||||
|
|
Loading…
Reference in New Issue
Block a user