Skip to content

Commit

Permalink
chore: renamed variables
Browse files Browse the repository at this point in the history
  • Loading branch information
chloe-renaud committed Oct 15, 2024
1 parent a58171d commit e334aa7
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ describe('WelcomePage', () => {
const objectives = 'Vérifier que les composants React fonctionnent'
const infoTitle = "Titre de l'information"
const infoText = 'Une information'
const surveyInfoTitle = 'Qui doit répondre ?'
const surveyInfoText = 'Guybrush Threepwood'
const surveyUnitInfoTitle = 'Qui doit répondre ?'
const surveyUnitInfoText = 'Guybrush Threepwood'
const { getByText } = render(
<WelcomePage
metadata={{
Expand All @@ -27,11 +27,11 @@ describe('WelcomePage', () => {
],
surveyUnitInfo: [
{
title: surveyInfoTitle,
title: surveyUnitInfoTitle,
contentBlocks: [
{
type: 'list',
textItems: [surveyInfoText],
textItems: [surveyUnitInfoText],
},
],
},
Expand All @@ -45,7 +45,7 @@ describe('WelcomePage', () => {
expect(getByText(objectives)).toBeInTheDocument()
expect(getByText(infoTitle)).toBeInTheDocument()
expect(getByText(infoText)).toBeInTheDocument()
expect(getByText(surveyInfoTitle)).toBeInTheDocument()
expect(getByText(surveyInfoText)).toBeInTheDocument()
expect(getByText(surveyUnitInfoTitle)).toBeInTheDocument()
expect(getByText(surveyUnitInfoText)).toBeInTheDocument()
})
})

0 comments on commit e334aa7

Please sign in to comment.