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

[refactor] Reduce repetition in paths tests #11881

Merged

Conversation

Philzen
Copy link
Contributor

@Philzen Philzen commented Jan 6, 2025

Following #11869 this refactors the paths test to be less repetitive, reducing cognitive complexity and making the paths config more manageable.

May serve as foundation to simplify paths.ts itself by migrating the DEFAULT_PATHS object over there and simply exporting it as a single source of truth.

@Tobbe
Copy link
Member

Tobbe commented Jan 6, 2025

image

Thanks for the descriptive commit messages ⭐

@Tobbe Tobbe added the release:chore This PR is a chore (means nothing for users) label Jan 6, 2025
@Tobbe Tobbe added this to the chore milestone Jan 6, 2025
@Tobbe Tobbe enabled auto-merge (squash) January 6, 2025 17:27
@Philzen
Copy link
Contributor Author

Philzen commented Jan 6, 2025

Thanks for the descriptive commit messages ⭐

My pleasure 🫡

@Tobbe Tobbe merged commit 73e241f into redwoodjs:main Jan 6, 2025
50 of 54 checks passed
@Philzen Philzen deleted the refactor/reduce-repetition-in-paths-tests branch January 6, 2025 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:chore This PR is a chore (means nothing for users)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants