chore: nx migrate latest

This commit is contained in:
Nathan Walker
2023-03-02 20:04:48 -08:00
parent 4e62b00ddb
commit 7a37bd313d
4 changed files with 31 additions and 31 deletions

View File

@ -1,3 +1,15 @@
const nxPreset = require('@nrwl/jest/preset').default;
module.exports = { ...nxPreset };
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 },
};