Skip to content

Commit

Permalink
requestIdleTimer might be 50
Browse files Browse the repository at this point in the history
  • Loading branch information
mattcosta7 committed Oct 17, 2024
1 parent 685db08 commit 1524c1d
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 1524c1d

Please sign in to comment.