diff --git a/test/unit/dom-bind.html b/test/unit/dom-bind.html index 2f8071d061..82739e5e01 100644 --- a/test/unit/dom-bind.html +++ b/test/unit/dom-bind.html @@ -94,6 +94,12 @@ assert.equal(domBind.handleEvent.callCount, 1); }); + test('gesture event listener fires', function() { + domBind.handleTap = sinon.spy(); + el1.click(); + assert.equal(domBind.handleTap.callCount, 1); + }); + test('inline function runs', function() { domBind.compute = function(val) { return val * 10; @@ -174,12 +180,6 @@ assert.equal(domBind.handleTap.callCount, 1); }); - test('gesture event listener fires', function() { - domBind.handleTap = sinon.spy(); - el1.click(); - assert.equal(domBind.handleTap.callCount, 1); - }); - test('inline function runs', function() { domBind.compute = function(val) { return val * 10;