Skip to content

Commit

Permalink
Merge pull request #1 from ArtskydJ/patch-1
Browse files Browse the repository at this point in the history
Make sure that the action happens on the correct call
  • Loading branch information
Kikobeats committed Aug 23, 2016
2 parents 10bf8f8 + b5eca50 commit 77797f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ describe('once-every', function () {
})

fn()
counter.should.be.equal(0)
fn()
counter.should.be.equal(1)

fn()
counter.should.be.equal(1)
fn()
counter.should.be.equal(2)
})
Expand Down

0 comments on commit 77797f5

Please sign in to comment.