Skip to content
This repository was archived by the owner on Aug 11, 2021. It is now read-only.

Commit 6ae98a1

Browse files
committed
Handles async properly in test.
1 parent 27e4b2e commit 6ae98a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/block-service-test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ module.exports = (repo) => {
109109

110110
bs.getBlocks([b1.key, b2.key, b3.key], (err, blocks) => {
111111
expect(err).to.exist
112-
expect(blocks).to.have.lengthOf(0)
112+
expect(blocks).to.have.length.below(3)
113113
done()
114114
})
115115
})

0 commit comments

Comments
 (0)