You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updating past Jest 28 will throw the following error on a line that imports a graphql file:
Invalid return value:
`process()` or/and `processAsync()` method of code transformer found at
"/root/repo/node_modules/jest-transform-graphql/index.js"
should return an object or a Promise resolving to an object. The object
must have `code` property with a string of processed code.
This error may be caused by a breaking change in Jest 28:
https://jestjs.io/docs/upgrading-to-jest28#transformer
Code Transformation Documentation:
https://jestjs.io/docs/code-transformation
The text was updated successfully, but these errors were encountered:
When using a project configured to use the jest transformer (i.e.):
Updating past Jest 28 will throw the following error on a line that imports a graphql file:
The text was updated successfully, but these errors were encountered: