You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I do something as such: doSomethingAsync().should.eventually.deep.eql(8) an error is asserted normally if 8 is a wrong value. However, if i write doSomethingAsync().should.eventually.deep.equal(8) no erroneous assertion occurs and node displays an unhandled promise rejection warning.
The text was updated successfully, but these errors were encountered:
Your situation is unclear based on what you wrote. Got some code to share?
Are you properly returning the promise at the end of your test, e.g. return doSomethingAsync().should.eventually.deep.equal(8)?
chai-as-promised: v7.1.1
node: v8.9.4
When I do something as such:
doSomethingAsync().should.eventually.deep.eql(8)
an error is asserted normally if8
is a wrong value. However, if i writedoSomethingAsync().should.eventually.deep.equal(8)
no erroneous assertion occurs and node displays an unhandled promise rejection warning.The text was updated successfully, but these errors were encountered: