You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
The text was updated successfully, but these errors were encountered: