Skip to content

Commit

Permalink
fix: test snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
siepra committed Nov 20, 2023
1 parent b91dd0a commit 5c11ab6
Showing 1 changed file with 18 additions and 30 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import React from 'react'

import { UpdateModal } from './UpdateModalComponent'
import { renderComponent } from '../../../testUtils/renderComponent'
import UpdateModalComponent from './UpdateModalComponent'

describe('UpdateModal', () => {
it('renders component', () => {
const result = renderComponent(
<UpdateModal
<UpdateModalComponent
handleClose={jest.fn()}
title={'Software update'}
message={'Update is available for Quiet.'}
Expand Down Expand Up @@ -92,47 +92,35 @@ describe('UpdateModal', () => {
style="width: 600px;"
>
<div
class="MuiGrid-root MuiGrid-container MuiGrid-direction-xs-column css-234gxa-MuiGrid-root"
class="MuiGrid-root MuiGrid-container MuiGrid-direction-xs-column css-1cz3wls-MuiGrid-root"
>
<div
class="MuiGrid-root MuiGrid-container UpdateModalinfo css-1lym95h-MuiGrid-root"
class="MuiGrid-root UpdateModalinfo css-vj1n65-MuiGrid-root"
>
<div
class="MuiGrid-root MuiGrid-item css-13i4rnv-MuiGrid-root"
>
<img
src="test-file-stub"
/>
</div>
<img
src="test-file-stub"
/>
</div>
<div
class="MuiGrid-root MuiGrid-container MuiGrid-item css-1h16bbz-MuiGrid-root"
class="MuiGrid-root UpdateModaltitle css-vj1n65-MuiGrid-root"
>
<div
class="MuiGrid-root MuiGrid-item UpdateModaltitle css-13i4rnv-MuiGrid-root"
<h3
class="MuiTypography-root MuiTypography-h3 css-ptjqt4-MuiTypography-root"
>
<h3
class="MuiTypography-root MuiTypography-h3 css-ptjqt4-MuiTypography-root"
>
Software update
</h3>
</div>
Software update
</h3>
</div>
<div
class="MuiGrid-root MuiGrid-container MuiGrid-item css-1h16bbz-MuiGrid-root"
class="MuiGrid-root UpdateModalmessage css-vj1n65-MuiGrid-root"
>
<div
class="MuiGrid-root MuiGrid-item UpdateModalmessage css-13i4rnv-MuiGrid-root"
<p
class="MuiTypography-root MuiTypography-body2 css-16d47hw-MuiTypography-root"
>
<p
class="MuiTypography-root MuiTypography-body2 css-16d47hw-MuiTypography-root"
>
Update is available for Quiet.
</p>
</div>
Update is available for Quiet.
</p>
</div>
<div
class="MuiGrid-root MuiGrid-container MuiGrid-spacing-xs-8 css-m7r6nl-MuiGrid-root"
class="MuiGrid-root MuiGrid-container MuiGrid-spacing-xs-2 MuiGrid-direction-xs-column css-1bnhfwg-MuiGrid-root"
/>
</div>
</div>
Expand Down

0 comments on commit 5c11ab6

Please sign in to comment.