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

Move middleware to separate method for testability. Add debug logging when --local applies changes to argv. #450

Merged
merged 3 commits into from
Dec 3, 2024

Conversation

cleve-fauna
Copy link
Contributor

@cleve-fauna cleve-fauna commented Dec 3, 2024

Problem

Unit testing is nice to have. Debug logs are too.

Solution

Refactor to allow the applyLocalArg middleware to be unit tested. Add debug logs to the applyLocalArg middleware.

Result

More tests and more debugs.

Testing

Ran all the tests.

@cleve-fauna cleve-fauna requested a review from a team as a code owner December 3, 2024 17:54
Copy link

@ecooper ecooper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice.

@cleve-fauna cleve-fauna merged commit 216715f into v3 Dec 3, 2024
4 checks passed
@cleve-fauna cleve-fauna deleted the v3_ownMethodMiddleware branch December 3, 2024 18:16
@cleve-fauna cleve-fauna mentioned this pull request Dec 5, 2024
This was referenced Dec 6, 2024
@cleve-fauna cleve-fauna mentioned this pull request Dec 13, 2024
@wildemat wildemat mentioned this pull request Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants