Skip to content

Commit

Permalink
Merge pull request #69 from github/fix-clipboard-test
Browse files Browse the repository at this point in the history
fix clipboard test
  • Loading branch information
dgreif authored Oct 17, 2024
2 parents 685db08 + 8e1691f commit 86fb489
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 86fb489

Please sign in to comment.