tj / should.js

BDD style assertions for node.js -- test framework agnostic
MIT License
2.75k stars 195 forks source link

Fix should[.not].exist not having stack trace #84 #88

Closed faridnsh closed 12 years ago

faridnsh commented 12 years ago

This was because should wasn't defined in that context and was referring to should property of the global object which is from the prototype. So should.exist and should.not.exist were undefined, which made stackStartFunction properties in those functions undefined.