From 1524c1d65805ae8bdc8b78210194204dc7888f3f Mon Sep 17 00:00:00 2001 From: Matthew Costabile Date: Thu, 17 Oct 2024 12:59:54 +0000 Subject: [PATCH] requestIdleTimer might be 50 --- test/requestidlecallback.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/requestidlecallback.js b/test/requestidlecallback.js index dd78f8c..07769a4 100644 --- a/test/requestidlecallback.js +++ b/test/requestidlecallback.js @@ -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) }) })