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
With current react-scripts, I got below issue when using with Prettier v3. Seems like it's resolved in latest Jest version. However, react-scripts just supports Jest v27.
This issue happens if using snapshot function (i.e, toMatchInlineSnapshot) in my test.
`TypeError: prettier.resolveConfig.sync is not a function
at runPrettier (node_modules/jest-snapshot/build/InlineSnapshots.js:390:30)
at TestScheduler.scheduleTests (node_modules/@jest/core/build/TestScheduler.js:333:13)
at runJest (node_modules/@jest/core/build/runJest.js:404:19)`
The text was updated successfully, but these errors were encountered:
With current react-scripts, I got below issue when using with Prettier v3. Seems like it's resolved in latest Jest version. However, react-scripts just supports Jest v27.
This issue happens if using snapshot function (i.e, toMatchInlineSnapshot) in my test.
`TypeError: prettier.resolveConfig.sync is not a function
The text was updated successfully, but these errors were encountered: