Plugins
Available Plugins
The Chai community is growing! Plugins allow developers to expand Chai's available assertions. Here is what the community has come up with so far:
- chai-spies is a basic spy implementation for chai. It's also a good resource for building chai plugins that work in both node.js and the browser.
- chai-jquery by @jfirebaugh
provides deep jQuery integration with chai
should
andexpect
. - jack by @vesln is a mock/stub library that can be used as a stand-alone or with chai.
- sinon-chai by @domenic extends chai with assertions for the Sinon.js mocking framework.