Chai
Express expected JavaScript test results in readable assertions.
chaijs · Code and testing
GitHub projectOpen source Open on GitHubHow to try it
In a Node.js project, install [email protected]. Check a correct sample count and verify that a wrong one throws an assertion error.
What we tested
6.3.0. Check a correct sample count and verify that a wrong one throws an assertion error. Accepted the correct fixture and raised its own assertion error for the changed count.