-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Conversation
… the latest version and only seems to be used for some reporting
NB: Mocha 6 seems to have undocumented breaking changes for reporters. For example it breaks eth-gas-reporter on a line similar to the one you've addressed with a3b5b66. This might be something worth noting in the release notes since Truffle users could be consuming mocha in lots of different ways, via IDEs, various reporters etc. |
Oh I see you mean that deleted line might be something that users are currently consuming. @cgewecke, do you happen to know if this same module (ms) is still available but just at a different spot in the codebase? |
@eggplantzzz Mmm, I mean more vaguely that Mocha 6 seems to be breaking stuff and don't understand why. For example on my side the full error looks like this and suggests that anyone extending the Base reporter will have a problem...
My reporter is a rewrite of Mocha's Spec Reporter and looks like this. It only imports the Base reporter and implementation seems consistent with the Mocha docs on third party reporters. Issue thread about this at another mocha based project (mochawesome). |
Hmm well maybe I'll go ahead and close this and hold off on upgrading up to 6 until things settle out a little bit more. Thanks for the info @cgewecke! |
Ok cool, thanks @eggplantzzz! |
Update mocha to the latest version in Truffle. Lerna update wizard sure creates a lot of noise in the diff...