We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 685db08 + 8e1691f commit 86fb489Copy full SHA for 86fb489
1 file changed
test/navigator-clipboard.js
@@ -16,7 +16,7 @@ describe('navigator clipboard', () => {
16
expect(arr).to.have.lengthOf(1)
17
expect(arr[0]).to.be.an.instanceof(globalThis.ClipboardItem)
18
expect(arr[0].types).to.eql(['text/plain'])
19
- expect(await arr[0].getType('text/plain')).to.eql('foo')
+ expect(await (await arr[0].getType('text/plain')).text()).to.eql('foo')
20
})
21
22
0 commit comments