List of changes (to be put in a changelog later):
- Swap API from snake case to camel case
- Restructure the bindings to be as zero-cost as possible (AKA remove currying that reduces binding code at the expense of massive runtime code bloat)
- Add custom promise test handling that catches exceptions, this is a massive pain point of using mocha with these bindings (because the only
Assert bindings are sync)
- Move the
Assert module to be a sub-module of the Mocha, Async and Promise modules instead of a peer
- Add promise-based assert bindings (and possibly async too). This will discourage use of the exception-throwing
Assert methods when all they do is cause tests to timeout.
- Add tests for throwing exceptions in promise and async test code
List of changes (to be put in a changelog later):
Assertbindings are sync)Assertmodule to be a sub-module of theMocha,AsyncandPromisemodules instead of a peerAssertmethods when all they do is cause tests to timeout.