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

Fixes issues with trying to read an ESM Jest config. #208

Merged
merged 1 commit into from
Jul 26, 2022
Merged

Conversation

manovotny
Copy link
Owner

Crude work around of now until we figure out how to handle ESM as a whole.

If the Jest config is in ESM format and we cannot read it using require (which will throw an error because it doesn't understand export default), we'll just pretend we cannot read it and return an empty object.

@manovotny manovotny merged commit 75215d4 into main Jul 26, 2022
@manovotny manovotny deleted the fix-jest-esm branch July 26, 2022 18:36
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.

1 participant