Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sadly, Prettier v3 breaks inline snapshots: FAIL packages/legacy/src/parser/__tests__/parse-test.ts ● Test suite failed to run Jest: Inline Snapshots are not supported when using Prettier 3.0.0 or above. See https://jestjs.io/docs/configuration/#prettierpath-string for alternatives. at saveInlineSnapshots (node_modules/jest-snapshot/build/InlineSnapshots.js:101:15) So, as noted in: - jestjs/jest#14367 set `prettierPath` in the Jest config, install v2 just for use by Jest, update the snapshots, which now have an, um, prettier format, like this: - "selections": Array [ - Object { + "selections": [ + { and then re-run Prettier manually with `yarn format` to make sure that everything remains stable.
- Loading branch information