multiformats / js-cid

CID implementation in JavaScript
MIT License
97 stars 39 forks source link

Simplify boolean assertions #37

Closed enricomarino closed 7 years ago

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 88.406% when pulling 80ee4f02092eacbdf5946009cd4316659070396f on enricomarino:patch-3 into e79ad837674f8c990d2c9bd116d75f9256185065 on ipld:master.

enricomarino commented 7 years ago

(maybe you already know it) unfortunately, the linter does't like expect(...).to.be.true and expect(...).to.be.false failing with the following error Expected an assignment or function call and instead saw an expression no-unused-expressions

daviddias commented 7 years ago

thanks, @enricomarino :)

Yeah, that is a StandardJS style thing.