chai-as-promised
chai-as-promised copied to clipboard
should.eventually.be.<boolean> and should.eventually.equal(<boolean>)
Would like to understand is there any logical difference in between above mentioned two. however I am getting pass result in both of the above. but would like to understand which one is preferred and why
After an eventually
call, the chain functions the same as in chai. These are the same assertion. It's up to your style preferences to decide which one to use. See the chai docs.