Skip to content

Commit

Permalink
fix clipboard test
Browse files Browse the repository at this point in the history
  • Loading branch information
mattcosta7 committed Oct 17, 2024
1 parent 685db08 commit 8e1691f
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 8e1691f

Please sign in to comment.