Welcome to Chai
We are glad that you have decided to give Chai.js a try! If this is your first visit, get aquainted with the basics, such as installation and our included assertion styles.
- Install Chai in node, the browser, and other environments.
- Learn about styles that you can use to define assertions.
After you have a solid knowledge of what is included in Chai, the next step is learning how to extend Chai through plugins. Chai is infinitely more powerful than what is included, limited only by what you want to achieve. The Plugin API is also intended as a way to simplify testing by providing users a way to encapsulate common assertions for repeat use.