Automattic / expect.js

Minimalistic BDD-style assertions for Node.JS and the browser.
2.11k stars 208 forks source link

Fix #81: expect return value can't be reused with .to.have.property #175

Open mikaeelghr opened 1 year ago

mikaeelghr commented 1 year ago

81

I removed this.obj update in to.have.property function, this should fix this.obj problem in reusing in subsequent assertions.