Closed
Description
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
- This request meets Powertools for AWS Lambda (TypeScript) Tenets
- Should this be considered in other Powertools for AWS Lambda languages? i.e. Python, Java, and .NET
Future readers
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Shipped