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

Update to jest 28 #635

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

comp615
Copy link
Contributor

@comp615 comp615 commented Oct 16, 2022

Closes #634.

Internally, graphql-let just imports create transformer from jest. So updating its own copy of Jest should solve this issue. As mentioned in the upstream PR (jestjs/jest#12638), it seems like this is a more restrictive return type than was previously allowed, but it was a subset of the previous return type, so my assumption is that this should be backwards compatible.

Regardless, it's needed, but would be prudent to test against an older project to verify if this is a major or minor release (and see if there's a way to note this with jest optional deps or something)

@comp615
Copy link
Contributor Author

comp615 commented Oct 16, 2022

This is not needed to solve the original problem, but I leave it here in case it's of use

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.

Incompatible with Jest 28+
1 participant