-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
hardhat test
should support pass-through of mocha arguments
#2316
Comments
FYI, I tried adding a |
Ok, so my workaround for now so that my |
Can you clarify your actual request here? 🙏 |
@feuGeneA, sure, I would like it if we could pass options to the mocha executable when running
Thanks 🙏 |
hardhat test
should support pass-through of mocha arguments
+1 to this - I want to use custom test reporters (Jenkins), and the arguments are not being passed through to mocha |
This issue was marked as stale because it didn't have any activity in the last 30 days. If you think it's still relevant, please leave a comment indicating so. Otherwise, it will be closed in 7 days. |
This issue was closed because it has been stalled for 7 days with no activity. |
In my terminal using the solarized color theme I cannot see the stack trace due to this long-standing issue that nobody wants to resolve. Also see this issue.
Normally I pass
--no-color
to mocha to bypass this problem but I cannot when executed via hardhat.I was expecting
npx hardhat test -- --no-color
to pass the additional options tomocha(1)
but it doesn't work.Currently, I cannot read stack traces. Allowing additional custom mocha options would fix this issue 🙏
The text was updated successfully, but these errors were encountered: