Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow passing --slow param to mocha in hardhat test #2502

Closed
samlaf opened this issue Mar 16, 2022 · 4 comments
Closed

Allow passing --slow param to mocha in hardhat test #2502

samlaf opened this issue Mar 16, 2022 · 4 comments

Comments

@samlaf
Copy link
Contributor

samlaf commented Mar 16, 2022

the hardhat builtin test task: https://github.com/NomicFoundation/hardhat/blob/master/packages/hardhat-core/src/builtin-tasks/test.ts
doesn't seem to allow us passing arbitrary mocha arguments to mocha.
I personally really like calling mocha with --slow 0, which shows the time each test took (not only those considered slow by mocha).
It would be nice to either add this as a param to the hardhat test task, or otherwise to have this task read from .mocharc.json or some other mocha config file.

@github-actions
Copy link
Contributor

This issue is also being tracked on Linear.

We use Linear to manage our development process, but we keep the conversations on Github.

LINEAR-ID: 18d30311-8352-4661-929e-1545b21dcbf0

@feuGeneA
Copy link
Contributor

See also #2359

@github-actions
Copy link
Contributor

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.

@github-actions
Copy link
Contributor

github-actions bot commented May 5, 2022

This issue was closed because it has been stalled for 7 days with no activity.

@github-actions github-actions bot closed this as completed May 5, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants