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

feat: support configure maxTheads and minThreads #59

Merged
merged 6 commits into from
Dec 11, 2021
Merged

Conversation

dominikg
Copy link
Contributor

got a test error regarding toThrow when running tests locally

@antfu antfu changed the title feat: add VITEST_MAX_THREADS env variable to limit worker threads feat: support configure maxTheads and minThreads Dec 10, 2021
*
* @default true
*/
threads?: boolean
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this isn't implemented yet, do you plan to add it here or maybe move it to a different PR (i'm not familiar enough with Piscina/vitest setup to know how to skip it entirely).

being able to run single-threaded (similar to jest run-in-band) is a great option to have too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants