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

Please restore mocha testing support #302

Closed
tjprescott opened this issue Feb 23, 2024 · 1 comment
Closed

Please restore mocha testing support #302

tjprescott opened this issue Feb 23, 2024 · 1 comment

Comments

@tjprescott
Copy link
Member

I've been working on PRs to add rules after he switch from mocha to vitest and have experience a massive regression in ability to run tests efficiently.

I can no longer run all tests from the test explorer due to a bug reported here:
vitest-dev/vscode#257

This forces me to run tests group-by-group (basically per file). However, even here, the performance of vitest is terrible and takes about 5x as long as the same run in mocha.

Some random examples (this is consistent for me regardless of the test)

vitest

image

mocha

image

vitest

image

mocha

image

vitest

image

mocha

image

For both of these reasons, I ask that we restore the ability to run tests with mocha so devs can use whichever framework is most performant for their setup.

@markcowl
Copy link
Member

unfortunately, cannot have both configurations

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

No branches or pull requests

2 participants