mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 17:45:40 -05:00
Fix some intermittent client erroring
Some tests are triggering achievement polling. Prevent that from happening.
This commit is contained in:
parent
870ae9a8a1
commit
705463615b
1 changed files with 1 additions and 0 deletions
|
@ -368,6 +368,7 @@ class CocoModel extends Backbone.Model
|
|||
return if _.isString @url then @url else @url()
|
||||
|
||||
@pollAchievements: ->
|
||||
return if application.testing
|
||||
|
||||
CocoCollection = require 'collections/CocoCollection'
|
||||
EarnedAchievement = require 'models/EarnedAchievement'
|
||||
|
|
Loading…
Reference in a new issue