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(config): create fallback jest config when jest config is undefined #2421

Merged
merged 1 commit into from Mar 3, 2021
Merged

fix(config): create fallback jest config when jest config is undefined #2421

merged 1 commit into from Mar 3, 2021

Conversation

ahnpnl
Copy link
Collaborator

@ahnpnl ahnpnl commented Mar 3, 2021

Summary

Jest config which is passed to transformer can be undefined (no idea how that can happen ???) so this PR creates a fallback config when that scenario happens.

Closes #2085

Test plan

Green CI

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

N.A.

@ahnpnl ahnpnl marked this pull request as ready for review March 3, 2021 20:22
@ahnpnl ahnpnl requested a review from kulshekhar as a code owner March 3, 2021 20:22
@ahnpnl ahnpnl merged commit 0fb6b45 into kulshekhar:v26.5.3 Mar 3, 2021
@ahnpnl ahnpnl deleted the fix-jest-config branch March 3, 2021 20:22
This was referenced Mar 5, 2021
This was referenced Mar 18, 2021
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.

jest + ts-jest: after 26.6.0/26.4.1, combination throws error "Cannot read property 'cwd' of undefined
1 participant