Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Commit

Permalink
remove tests that don't test anything
Browse files Browse the repository at this point in the history
  • Loading branch information
notwaldorf committed Apr 12, 2016
1 parent 89f0627 commit dd32c57
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions test/paper-item.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,33 +110,6 @@
}, 1);
}, 1);
});

test('click triggers a click event', function(done) {
MockInteractions.tap(item);
Polymer.Base.async(function(){
expect(clickHandler.callCount).to.be.equal(1);
done();
}, 1);
});
});

suite('button basic', function() {
var item, clickHandler;

setup(function() {
item = fixture('button').querySelector('button');
clickHandler = sinon.spy();
item.addEventListener('click', clickHandler);
});

// Button also natively fires click after pressing space and enter.
test('click triggers a click event', function(done) {
MockInteractions.tap(item);
Polymer.Base.async(function(){
expect(clickHandler.callCount).to.be.equal(1);
done();
}, 1);
});
});

suite('paper-icon-item basic', function() {
Expand Down

0 comments on commit dd32c57

Please sign in to comment.