Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
We have been moving some large code bases from Mocha/Chai to Lab/Code and have found the experience very good. One issue we've found though has been converting from chai's
We tend to find that we sometimes forget to change the 2 string arguments to a single object argument but Code does not warn us therefore only the member existence check is being done - not the equality check.
It would be great if the method would validate the number of arguments and fail if more than one argument was given.
* Enhancement: Added validation to include Added an extra assertion to check that the include expectation is always called with just one argument. Fixes: #83 * Fix: Fix tests as per comments Fix as per [Pull request 84](#84) * Fix: Fix tests as per pull request comments Second refactor to fix tests as per [Pull request 84](#84) * Refactor: Refactor as per pull comments > I think this second test can be dropped, as the functionality is > tested elsewhere. > --cjihrig