Skip to content
Snippets Groups Projects
Commit 3ac8510e authored by Bastien DUMONT's avatar Bastien DUMONT :angel:
Browse files

chore: fix types errors

parent 375c0b8c
Branches
Tags
1 merge request!12413.1 Release
...@@ -5,7 +5,7 @@ import SplashScreen from './SplashScreen' ...@@ -5,7 +5,7 @@ import SplashScreen from './SplashScreen'
describe('SplashScreen component', () => { describe('SplashScreen component', () => {
it('should be rendered correctly', () => { it('should be rendered correctly', () => {
const { container } = render(<SplashScreen initStep={InitSteps.CONSENT} />) const { container } = render(<SplashScreen initStep={InitSteps.PROFILE} />)
expect(container).toMatchSnapshot() expect(container).toMatchSnapshot()
}) })
}) })
...@@ -23,7 +23,7 @@ exports[`SplashScreen component should be rendered correctly 1`] = ` ...@@ -23,7 +23,7 @@ exports[`SplashScreen component should be rendered correctly 1`] = `
> >
<div <div
class="splash-progress-bar-content" class="splash-progress-bar-content"
style="left: -123%;" style="left: -90%;"
/> />
</div> </div>
</div> </div>
...@@ -31,7 +31,7 @@ exports[`SplashScreen component should be rendered correctly 1`] = ` ...@@ -31,7 +31,7 @@ exports[`SplashScreen component should be rendered correctly 1`] = `
<div <div
class="step-label text-18-normal" class="step-label text-18-normal"
> >
splashscreen.step.undefined splashscreen.step.profile
</div> </div>
<div <div
class="splash-logos-container" class="splash-logos-container"
......
...@@ -127,11 +127,7 @@ jest.mock('./terms.service', () => { ...@@ -127,11 +127,7 @@ jest.mock('./terms.service', () => {
}) })
describe('Initialization service', () => { describe('Initialization service', () => {
const initializationService = new InitializationService( const initializationService = new InitializationService(mockClient, jest.fn())
mockClient,
jest.fn(),
jest.fn()
)
beforeEach(() => { beforeEach(() => {
jest.clearAllMocks() jest.clearAllMocks()
}) })
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment