Skip to content

Commit 6ae5eb7

Browse files
committed
chore: fix test
1 parent 2781e1b commit 6ae5eb7

File tree

1 file changed

+1
-1
lines changed
  • packages/interface-ipfs-core/src/files

1 file changed

+1
-1
lines changed

packages/interface-ipfs-core/src/files/write.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ export function testWrite (factory, options) {
204204
})
205205

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

0 commit comments

Comments
 (0)