diff --git a/src/components/Splash/SplashScreen.spec.tsx b/src/components/Splash/SplashScreen.spec.tsx index a8c692fbc40679130cd74dfd6eb681e79e4f67ed..44ec12deeb16a415bf71a390bd5743de3d2ff3d6 100644 --- a/src/components/Splash/SplashScreen.spec.tsx +++ b/src/components/Splash/SplashScreen.spec.tsx @@ -5,7 +5,7 @@ import SplashScreen from './SplashScreen' describe('SplashScreen component', () => { it('should be rendered correctly', () => { - const { container } = render(<SplashScreen initStep={InitSteps.CONSENT} />) + const { container } = render(<SplashScreen initStep={InitSteps.PROFILE} />) expect(container).toMatchSnapshot() }) }) diff --git a/src/components/Splash/__snapshots__/SplashScreen.spec.tsx.snap b/src/components/Splash/__snapshots__/SplashScreen.spec.tsx.snap index 635e4d733cf0b9bb59d63a47556a1efd2403adbd..9d42bdb596f1565cc9c83da65fd4605e9b8786ad 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: -123%;" + style="left: -90%;" /> </div> </div> @@ -31,7 +31,7 @@ exports[`SplashScreen component should be rendered correctly 1`] = ` <div class="step-label text-18-normal" > - splashscreen.step.undefined + splashscreen.step.profile </div> <div class="splash-logos-container" diff --git a/src/services/initialization.service.spec.ts b/src/services/initialization.service.spec.ts index db73da151c8d89785cd6f1ce3b942864e3c76c6a..2b9ddb68e79a1007a5e56e91d444ce3efb447239 100644 --- a/src/services/initialization.service.spec.ts +++ b/src/services/initialization.service.spec.ts @@ -127,11 +127,7 @@ jest.mock('./terms.service', () => { }) describe('Initialization service', () => { - const initializationService = new InitializationService( - mockClient, - jest.fn(), - jest.fn() - ) + const initializationService = new InitializationService(mockClient, jest.fn()) beforeEach(() => { jest.clearAllMocks() })