mocha-prepare icon indicating copy to clipboard operation
mocha-prepare copied to clipboard

Pass mocha instance as second argument to prepare/unprepare handlers

Open krisdages opened this issue 5 years ago • 1 comments

I needed to do something asynchronous with the mocha files and test suite in the handlers.

The mocha instance was available in the Mocha.prototype.run override, so I just added passing the instance after the done callback.

krisdages avatar Apr 17 '19 18:04 krisdages

Sorry, I accidentally had put "bump major version" instead of "minor" in the second commit.

krisdages avatar Apr 17 '19 23:04 krisdages