Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into polyfill-with-resolvers
Browse files Browse the repository at this point in the history
  • Loading branch information
mattcosta7 committed Oct 17, 2024
2 parents 8b354be + 9c5fd7d commit d074910
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/navigator-clipboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ describe('navigator clipboard', () => {
expect(arr).to.have.lengthOf(1)
expect(arr[0]).to.be.an.instanceof(globalThis.ClipboardItem)
expect(arr[0].types).to.eql(['text/plain'])
expect(await arr[0].getType('text/plain')).to.eql('foo')
expect(await (await arr[0].getType('text/plain')).text()).to.eql('foo')
})
})

Expand Down
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 d074910

Please sign in to comment.