Chai Assertion Library

Just what is the Chai Assertion Library? From their website: Chai is a BDD / TDD assertion library for node and the browser that can be delightfully paired with any javascript testing framework. Once you see the examples you start to get the idea: Should chai.should();‘string’); foo.should.equal(‘bar’); foo.should.have.length(3);‘flavors’)   .with.length(3); Any programmer who […]