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

[fix] Make --load-env-files work with yarn rw test #11887

Conversation

Philzen
Copy link
Contributor

@Philzen Philzen commented Jan 7, 2025

Fixed it :)

Resolves #11884

Also couldn't help myself and simplify the code a bit, reducing cognitive complexity. See the last two commits.

@Philzen Philzen force-pushed the bugfix/11884-load-env-files-option-not-working-with-jest branch from 09012d9 to c62df39 Compare January 7, 2025 19:54
@Philzen Philzen force-pushed the bugfix/11884-load-env-files-option-not-working-with-jest branch from c62df39 to bd8d98d Compare January 8, 2025 05:21
@Tobbe Tobbe added the release:fix This PR is a fix label Jan 15, 2025
@Tobbe Tobbe added this to the next-release-patch milestone Jan 15, 2025
@Tobbe Tobbe added the changesets-ok Override the changesets check label Jan 15, 2025
@Tobbe Tobbe enabled auto-merge (squash) January 15, 2025 07:49
@Tobbe Tobbe added the fixture-ok Override the test project fixture check label Jan 15, 2025
@Tobbe Tobbe merged commit ee78ea6 into redwoodjs:main Jan 15, 2025
56 of 66 checks passed
@Philzen Philzen deleted the bugfix/11884-load-env-files-option-not-working-with-jest branch January 15, 2025 14:50
@Tobbe Tobbe modified the milestones: next-release-patch, v8.4.3 Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changesets-ok Override the changesets check fixture-ok Override the test project fixture check release:fix This PR is a fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug][cli] --load-env-files cannot be used in conjunction with yarn rw test
2 participants