Skip to content

Commit

Permalink
Move second tap test to the correct spot.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpschaaf committed Apr 13, 2017
1 parent 4f628fd commit 6e4b87c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/unit/dom-bind.html
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 6e4b87c

Please sign in to comment.