From ee76d5886e9844f4cb0df0dccf5dd09ce0fa30d7 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 27 Aug 2022 16:56:42 +0200 Subject: [PATCH] Update jest monorepo to v29 (major) (#2321) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Erik Michelson --- package.json | 4 +- .../revisions/invert-unified-patch.test.ts | 10 +- .../__snapshots__/abc-frame.test.tsx.snap | 6 +- yarn.lock | 829 ++++++++++-------- 4 files changed, 480 insertions(+), 369 deletions(-) diff --git a/package.json b/package.json index c93203a9e..83f03efe5 100644 --- a/package.json +++ b/package.json @@ -172,8 +172,8 @@ "eslint-plugin-prettier": "4.2.1", "eslint-plugin-promise": "6.0.1", "eslint-plugin-testing-library": "5.6.0", - "jest": "28.1.3", - "jest-environment-jsdom": "28.1.3", + "jest": "29.0.1", + "jest-environment-jsdom": "29.0.1", "prettier": "2.7.1", "react-test-renderer": "18.2.0", "ts-loader": "9.3.1", diff --git a/src/components/editor-page/document-bar/revisions/invert-unified-patch.test.ts b/src/components/editor-page/document-bar/revisions/invert-unified-patch.test.ts index 342a62b3d..562bfd62d 100644 --- a/src/components/editor-page/document-bar/revisions/invert-unified-patch.test.ts +++ b/src/components/editor-page/document-bar/revisions/invert-unified-patch.test.ts @@ -20,10 +20,10 @@ describe('invert unified patch', () => { e`)[0] const result = invertUnifiedPatch(parsedPatch) expect(result).toMatchInlineSnapshot(` - Object { - "hunks": Array [ - Object { - "linedelimiters": Array [ + { + "hunks": [ + { + "linedelimiters": [ " ", " @@ -37,7 +37,7 @@ describe('invert unified patch', () => { " ", ], - "lines": Array [ + "lines": [ "+a", "+b", " c", diff --git a/src/components/markdown-renderer/markdown-extension/abcjs/__snapshots__/abc-frame.test.tsx.snap b/src/components/markdown-renderer/markdown-extension/abcjs/__snapshots__/abc-frame.test.tsx.snap index 47eafb143..69bc3991e 100644 --- a/src/components/markdown-renderer/markdown-extension/abcjs/__snapshots__/abc-frame.test.tsx.snap +++ b/src/components/markdown-renderer/markdown-extension/abcjs/__snapshots__/abc-frame.test.tsx.snap @@ -19,7 +19,7 @@ exports[`AbcFrame renders a music sheet 2`] = ` style="overflow: hidden; height: 454.4200000000001px;" >