Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit 91adca1

Browse files
author
Pedro Santos
committed
chore: convert before function on files-mfs to async/await
1 parent d9812ec commit 91adca1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/files-mfs/stat.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports = (common, options) => {
2020
let ipfs
2121

2222
before(async () => { ipfs = await common.setup() })
23-
before((done) => ipfs.add(fixtures.smallFile.data, done))
23+
before(async () => { await ipfs.add(fixtures.smallFile.data) })
2424

2525
after(() => common.teardown())
2626

0 commit comments

Comments
 (0)