Skip to content

2.0.0

Latest
Compare
Choose a tag to compare
@domenic domenic released this 15 Dec 00:16
· 5 commits to master since this release

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.