From 6e4b87c1ba0f2652b2094817ef5cf8751e8c7f0a Mon Sep 17 00:00:00 2001 From: Kevin Schaaf Date: Thu, 13 Apr 2017 14:18:29 -0700 Subject: [PATCH] Move second tap test to the correct spot. --- test/unit/dom-bind.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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;