Check Chai
Adds chai helper function
chai.check
for asynchronous testing with multiple expect or assert statements.
This is a simple helper function to call a series of
expect
orassert
calls withchai
inmocha
(namely for use with asynchronous tests; based on http://stackoverflow.com/a/15208067)
I built this package while I was writing tests for https://github.com/niftylettuce/node-react-native-fetch-api.
npm install --save check-chai
var chai = ;var dirtyChai = ;var checkChai = ;var expect = chaiexpect;chai;chai; ;
Contributors
- Nick Baugh niftylettuce@gmail.com