From b581db42ce6804bb9af97f287182178f54c1b63a Mon Sep 17 00:00:00 2001 From: Bastien DUMONT <bdumont@grandlyon.com> Date: Wed, 24 Jul 2024 16:37:19 +0200 Subject: [PATCH] update snapshot --- src/components/Splash/SplashRoot.tsx | 2 +- .../Splash/__snapshots__/SplashRoot.spec.tsx.snap | 6 +++--- .../Splash/__snapshots__/SplashScreen.spec.tsx.snap | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/Splash/SplashRoot.tsx b/src/components/Splash/SplashRoot.tsx index 77bead74a..9a72de3b0 100644 --- a/src/components/Splash/SplashRoot.tsx +++ b/src/components/Splash/SplashRoot.tsx @@ -193,7 +193,7 @@ const SplashRoot = ({ fadeTimer = 1000, children }: SplashRootProps) => { const startTime = performance.now() const transaction = Sentry.startTransaction({ name: 'Initialize app' }) try { - // Load app in parallel + // Run init steps in parallel const [ termsStatus, , diff --git a/src/components/Splash/__snapshots__/SplashRoot.spec.tsx.snap b/src/components/Splash/__snapshots__/SplashRoot.spec.tsx.snap index 1cc016b6b..17d478907 100644 --- a/src/components/Splash/__snapshots__/SplashRoot.spec.tsx.snap +++ b/src/components/Splash/__snapshots__/SplashRoot.spec.tsx.snap @@ -27,7 +27,7 @@ exports[`SplashRoot component should be rendered correctly 1`] = ` > <div class="splash-progress-bar-content" - style="left: -73%;" + style="left: -40%;" /> </div> </div> @@ -35,7 +35,7 @@ exports[`SplashRoot component should be rendered correctly 1`] = ` <div class="step-label text-18-normal" > - splashscreen.step.1 + splashscreen.step.3 </div> <div class="splash-logos-container" @@ -83,7 +83,7 @@ exports[`SplashRoot component should render the error screen 1`] = ` <div class="splash-error-text text-18-normal" > - splashscreen.consent_error + splashscreen.consos_error </div> </div> </div> diff --git a/src/components/Splash/__snapshots__/SplashScreen.spec.tsx.snap b/src/components/Splash/__snapshots__/SplashScreen.spec.tsx.snap index fee381e60..41988b376 100644 --- a/src/components/Splash/__snapshots__/SplashScreen.spec.tsx.snap +++ b/src/components/Splash/__snapshots__/SplashScreen.spec.tsx.snap @@ -23,7 +23,7 @@ exports[`SplashScreen component should be rendered correctly 1`] = ` > <div class="splash-progress-bar-content" - style="left: -73%;" + style="left: -80%;" /> </div> </div> @@ -31,7 +31,7 @@ exports[`SplashScreen component should be rendered correctly 1`] = ` <div class="step-label text-18-normal" > - splashscreen.step.1 + splashscreen.step.0 </div> <div class="splash-logos-container" -- GitLab