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
constnxPreset=require('@nx/jest/preset').default;module.exports={
...nxPreset,/* TODO: Update to latest Jest snapshotFormat * By default Nx has kept the older style of Jest Snapshot formats * to prevent breaking of any existing tests with snapshots. * It's recommend you update to the latest format. * You can do this by removing snapshotFormat property * and running tests with --update-snapshot flag. * Example: "nx affected --targets=test --update-snapshot" * More info: https://jestjs.io/docs/upgrading-to-jest29#snapshot-format */snapshotFormat: {escapeString: true,printBasicPrototype: true},};
ae1ae6d77780cf58872a8e480fc43bb3cefcc4d2
The text was updated successfully, but these errors were encountered:
Update to latest Jest snapshotFormat
By default Nx has kept the older style of Jest Snapshot formats
to prevent breaking of any existing tests with snapshots.
It's recommend you update to the latest format.
You can do this by removing snapshotFormat property
and running tests with --update-snapshot flag.
Example: "nx affected --targets=test --update-snapshot"
More info: https://jestjs.io/docs/upgrading-to-jest29#snapshot-format
websites/jest.preset.js
Line 5 in 553c9fc
ae1ae6d77780cf58872a8e480fc43bb3cefcc4d2
The text was updated successfully, but these errors were encountered: