Chai is a BDD / TDD assertion library for node and the browser that can be delightfully paired with any javascript testing framework.

Latest Update to Github

Loading...
Loading...
Fork me on GitHub
git clone https://github.com/logicalparadox/chai.git

Language Guide

expect / should [bdd]

The BDD style allows you to write your assertions in a natural, self-describing manner.

assert [tdd]

The TDD style allows you to write your assertions using the classic 'assert dot' notation.