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

Contribute
Become a financial contributor.
Financial Contributions
Top financial contributors
Organizations
$3,400 USD since Dec 2018
$2,133 USD since May 2018
$250 USD since Feb 2018
$180 USD since Mar 2021
$140 USD since Feb 2022
$108 USD since Mar 2018
$100 USD since Oct 2021
$60 USD since Dec 2018
$54 USD since May 2020
$48.37 USD since Nov 2019
Individuals
$158 USD since Nov 2018
$114 USD since Dec 2017
$96 USD since May 2017
$64 USD since Sep 2018
$60 USD since Jun 2016
$50 USD since Nov 2016
$50 USD since Nov 2016
$40 USD since Sep 2017
$30 USD since Apr 2017
$20 USD since Oct 2014
Chai is all of us
Our contributors 47
Thank you for supporting Chai.
keithamus
$20 USD
Jake Luer
Jérémie Astori
Lucas Fernand...
Grant Snodgrass
Principal Fin...
$3,400 USD
Airbnb
Backers
$2,133 USD
CodePilot.ai
$250 USD
Avrios
Backers
$180 USD
David Passarelli
Backers
$158 USD
HTTP Toolkit
$140 USD
JeongHoon Byun
Backers
$114 USD

Budget
Transparent and open finances.
Credit from Principal Financial Group to Chai •
Credit from JeongHoon Byun to Chai •
$5,905.27 USD
$6,312.05 USD
$406.78 USD
$2,061.86 USD

About
Chai has several interfaces that allow the developer to choose the most comfortable. The chain-capable BDD styles provide an expressive language & readable style, while the TDD assert style provides a more classical feel.
Plugins extend Chai's assertions to new contexts such as vendor integration & object construction. Developers can build their own plugins to share with community or use the plugin pattern to DRY up existing tests.