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: support jest.config.json #346

Merged
merged 1 commit into from
Dec 20, 2023
Merged

Conversation

zsstiers
Copy link
Contributor

Adds jest.config.json to the list of supported jest.config paths. This list now fully matches the guidance on https://jestjs.io/docs/configuration, which states

It is recommended to define the configuration in a dedicated JavaScript, TypeScript or JSON file. The file will be discovered automatically, if it is named jest.config.js|ts|mjs|cjs|json. You can use --config flag to pass an explicit path to the file.

Fix: #328

Copy link
Collaborator

@domsleee domsleee left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution, lgtm 👍

@domsleee domsleee merged commit a1d74f2 into firsttris:master Dec 20, 2023
3 checks passed
@zsstiers zsstiers deleted the issue-328 branch December 20, 2023 18:39
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.

Unable to detect correct config when it is jest.config.json
2 participants