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

Ignores prettier path from root jest config #75

Open
ethanresnick opened this issue Aug 2, 2023 · 1 comment
Open

Ignores prettier path from root jest config #75

ethanresnick opened this issue Aug 2, 2023 · 1 comment

Comments

@ethanresnick
Copy link

Prettier 3 is out now, but it's incompatible with inline snapshots. The workaround seems to be to point prettierPath in jest.config.js to a copy of prettier@2.x. However, jest-light-runner seems to ignore that setting, and instead hardcode the prettier path.

@nicolo-ribaudo
Copy link
Owner

Thanks for the report :) Would you like to open a PR?

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

No branches or pull requests

2 participants