Skip to content
Permalink
Browse files

Remove broken test

  • Loading branch information
Koen Bok committed Feb 1, 2016
1 parent 50f0eed commit 941bbdc71f464435527181d94fa6413e39f1413e
Showing with 0 additions and 21 deletions.
  1. +0 −21 test/tests/LayerTest.coffee
@@ -446,27 +446,6 @@ describe "Layer", ->

simulate.mouseover(layer._element)


it "should not emit click event if a parent draggable was moved on draggable", ->

clicked = false

layerA = new Layer

layerA.draggable.enabled = true
layerA.draggable._isMoving = true

layerA.on Events.Click, ->
clicked = true

layerA.emit(Events.Click)
clicked.should.equal false

layerA.draggable.enabled = false

layerA.emit(Events.Click)
clicked.should.equal true

it "should only pass dom events to the event manager", ->

layer = new Layer

0 comments on commit 941bbdc

Please sign in to comment.