Skip to content

Commit

Permalink
Merge pull request #68 from github/fix-test-request-idle-timeout
Browse files Browse the repository at this point in the history
requestIdleTimer might be 50
  • Loading branch information
mattcosta7 authored Oct 17, 2024
2 parents 86fb489 + 9f5336b commit 9c5fd7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/requestidlecallback.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ describe('requestIdleCallback', () => {
expect(Object.keys(arg)).to.eql(['didTimeout', 'timeRemaining'])
expect(arg).to.have.property('didTimeout').to.be.a('boolean')
expect(arg).to.have.property('timeRemaining').to.be.a('function')
expect(arg.timeRemaining()).to.be.a('number').lessThan(50).greaterThanOrEqual(0)
expect(arg.timeRemaining()).to.be.a('number').lessThanOrEqual(50).greaterThanOrEqual(0)
})
})

0 comments on commit 9c5fd7d

Please sign in to comment.