stable

Clone or download

Read-only

chore: Disable prettier processing of inline snapshots

No functional change. CI should be happy. Notes: In 96997ad9d2e07d794aee00f3e5ea5f517280fab1, I misinterpreted a warning raised by Jest. Jest feeds inline snapshots through prettier after serializing them, so that indentation is respected. Jest does not support prettier v3 yet, so they raise a warning about it, but their doc [0] suggests to just disable this processing. This change disables prettier processing and reverts the changes to inline snapshots. [0] https://jestjs.io/docs/configuration/#prettierpath-string part of request #34350 jest-serializer-vue: 2.0.2 -> 3.1.0 Change-Id: I5ee4a0cb21c13edddac21c405439f9a4b1b78520

Modified Files

Name
M lib/frontend/build-system-configurator/src/jest/base-config.ts +1 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/Task/DependencyArrow.test.ts +36 −4 Go to diff View file
D plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/Task/__snapshots__/DependencyArrow.test.ts.snap +0 −41 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/src/format-selector/editor-area/components/PreviewEditButton.test.ts +12 −2 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/src/format-selector/editor-area/components/__snapshots__/PreviewEditButton.test.ts.snap +0 −14 Go to diff View file