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

Commit

Permalink
Handles async properly in test.
Browse files Browse the repository at this point in the history
  • Loading branch information
hackergrrl committed Apr 15, 2016
1 parent 27e4b2e commit 6ae98a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/block-service-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ module.exports = (repo) => {

bs.getBlocks([b1.key, b2.key, b3.key], (err, blocks) => {
expect(err).to.exist
expect(blocks).to.have.lengthOf(0)
expect(blocks).to.have.length.below(3)
done()
})
})
Expand Down

0 comments on commit 6ae98a1

Please sign in to comment.