Skip to content

Maintenance: filter e2e tests in pre-push hook #3239

Closed
@dreamorosi

Description

@dreamorosi

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

Metadata

Metadata

Assignees

Labels

automationThis item relates to automationcompletedThis item is complete and has been merged/shippedinternalPRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)

Type

No type

Projects

Status

Shipped

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions