Releases: domenic/mocha-as-promised
Releases · domenic/mocha-as-promised
2.0.0
Mocha as Promised will now automatically detect and duck-punch all loaded Mocha instances in a Node.js setting. (#25, @nowells) This could be important if you are loading multiple Mocha instances, but only using one of them; previously Mocha as Promised could duck-punch the wrong one.
As a breaking change, the argument to the Mocha as Promised function, if not omitted, must now be an array.
1.4.1
- Fixed to work with thenables that are also functions, e.g. those returned by some Chai as Promised asserters. (#22)