Skip to content

Commit

Permalink
Change comparison type on first test
Browse files Browse the repository at this point in the history
  • Loading branch information
staramir committed Jun 16, 2015
1 parent 7d19799 commit bf52222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debounce/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ describe('debounce', function() {
it('waits for the threshold to pass before executing', function(done) {
var now = new Date();
var debounced = debounce(function() {
assert(new Date() - now > 10);
assert(new Date() - now >= 10);
done();
}, 10);
debounced();
Expand Down

0 comments on commit bf52222

Please sign in to comment.