From 06de858ae448831646a5e64fec68c4bc55ce5ff3 Mon Sep 17 00:00:00 2001 From: planctus Date: Wed, 11 Dec 2024 10:39:43 +0200 Subject: [PATCH] chore(pnpm): Fixing tests - FRONT-4693 --- package.json | 2 +- .../banner/__snapshots__/banner.test.js.snap | 8 +- .../__snapshots__/gallery.test.js.snap | 5 - .../media-container.test.js.snap | 6 +- .../__snapshots__/mega-menu.test.js.snap | 816 +++++++++--------- .../__snapshots__/search-form.test.js.snap | 54 +- 6 files changed, 446 insertions(+), 445 deletions(-) diff --git a/package.json b/package.json index 3afc60e6b9a..3efa3d70a8d 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "start:ec": "(cd src/presets/ec && npm run watch) & cd src/playground/ec && npm run start", "start:eu": "(cd src/presets/eu && npm run watch) & cd src/playground/eu && npm run start", "start:website": "cd src/website && npm run start", - "test": "pnpm recursive run test:*", + "test": "run-p test:*", "test:components": "jest --verbose", "test:coding-conventions": "npm run lint && npm run pretty-check", "update-version": "scripts/update-version.sh" diff --git a/src/implementations/twig/components/banner/__snapshots__/banner.test.js.snap b/src/implementations/twig/components/banner/__snapshots__/banner.test.js.snap index 4c9266acfa7..340419bfc57 100644 --- a/src/implementations/twig/components/banner/__snapshots__/banner.test.js.snap +++ b/src/implementations/twig/components/banner/__snapshots__/banner.test.js.snap @@ -548,10 +548,10 @@ exports[`Banner Video renders correctly 1`] = ` data-ecl-banner-video="" loop="" muted="" - poster="https://vod.prd.commavservices.eu/12/224712/THUMB_I224712EN1W_V_1.jpg" + poster="https://euc-vod.fl.freecaster.net/12/224712/THUMB_I224712EN1W_V_1.jpg" > @@ -703,10 +703,10 @@ exports[`Banner Video renders correctly with extra attributes for the video 1`] data-test-extra-attribute="" loop="" muted="" - poster="https://vod.prd.commavservices.eu/12/224712/THUMB_I224712EN1W_V_1.jpg" + poster="https://euc-vod.fl.freecaster.net/12/224712/THUMB_I224712EN1W_V_1.jpg" > diff --git a/src/implementations/twig/components/gallery/__snapshots__/gallery.test.js.snap b/src/implementations/twig/components/gallery/__snapshots__/gallery.test.js.snap index 8b9d4778ac5..4c782577305 100644 --- a/src/implementations/twig/components/gallery/__snapshots__/gallery.test.js.snap +++ b/src/implementations/twig/components/gallery/__snapshots__/gallery.test.js.snap @@ -3,7 +3,6 @@ exports[`Gallery Default renders correctly 1`] = `