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

Commit c5d7929

Browse files
committed
fix: expect buffer to be false
License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com>
1 parent 570e508 commit c5d7929

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

js/src/config/get.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ module.exports = (createCommon, options) => {
3333
ipfs.config.get((err, config) => {
3434
expect(err).to.not.exist()
3535
expect(config).to.be.an('object')
36+
expect(Buffer.isBuffer(config)).to.be.false
3637
done()
3738
})
3839
})
@@ -41,6 +42,7 @@ module.exports = (createCommon, options) => {
4142
return ipfs.config.get()
4243
.then((config) => {
4344
expect(config).to.be.an('object')
45+
expect(Buffer.isBuffer(config)).to.be.false
4446
})
4547
})
4648

0 commit comments

Comments
 (0)