Skip to content

Commit

Permalink
chore: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Oct 28, 2022
1 parent 2781e1b commit 6ae5eb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/interface-ipfs-core/src/files/write.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ export function testWrite (factory, options) {
})

it('writes a small file using an HTML5 Blob (Browser only)', async function () {
if (!global.Blob) {
if (!global.Blob || !global.FileReader) {
// @ts-expect-error this is mocha
return this.skip()
}
Expand Down

0 comments on commit 6ae5eb7

Please sign in to comment.