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...

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.