Maintenance: filter e2e tests in pre-push hook #3239
Labels
automation
This item relates to automation
completed
This item is complete and has been merged/shipped
internal
PRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)
Summary
We use pre-push hooks to run quick tests on the code and give fast feedback to contributors. With the ongoing migration to vitest, we have added a vitest command to the hook, however in doing so we forgot to filter the tests. This causes both unit and e2e tests to run before each commit.
Why is this needed?
We should apply a filter and run only unit tests, so that we don't slow down the commit workflow too much. These tests will be run on the CI anyway.
Solution
No response
Acknowledgment
Future readers
The text was updated successfully, but these errors were encountered: