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

Skip benchmarks by default when running test command and only run tests #6898

Open
4 tasks done
mskonovalov opened this issue Nov 12, 2024 · 0 comments
Open
4 tasks done

Comments

@mskonovalov
Copy link

Clear and concise description of the problem

Currently, I have benchmarks and tests together. And if I try t run tests (which is default for regression testing before commit and on CI, I get the error
Error: bench() is only available in benchmark mode.

I know I can use skipIf and then add an ENV variable and set it in package.json but I believe this should be the default behavior.

Suggested solution

Skip benchmarks by default when running test command.
Only run benchmarks when you run benchmark command

Alternative

No response

Additional context

No response

Validations

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

1 participant