@@ -213,13 +213,15 @@ describe("ContentStylingService", () => {
213213 headline : "Side effects of the generic vaccine" ,
214214 subsections : [ mockMarkdownSubsection , mockUrgentSubsection ] ,
215215 } ;
216+ const mockCallout : HeadingWithContent = { heading : "Callout Heading" , content : "Callout content" } ;
216217 const mockContent : VaccinePageContent = {
217218 overview : { content : "This is an overview" , containsHtml : false } ,
218219 whatVaccineIsFor : mockWhatSection ,
219220 whoVaccineIsFor : mockWhoSection ,
220221 howToGetVaccine : mockHowSection ,
221222 vaccineSideEffects : mockSideEffectsSection ,
222223 webpageLink : new URL ( "https://test.example.com/" ) ,
224+ callout : mockCallout ,
223225 } ;
224226
225227 const styledVaccineContent : StyledVaccineContent = await getStyledContentForVaccine ( vaccine , mockContent , false ) ;
@@ -230,6 +232,7 @@ describe("ContentStylingService", () => {
230232 expect ( styledVaccineContent . whoVaccineIsFor . heading ) . toEqual ( mockWhoSection . headline ) ;
231233 expect ( styledVaccineContent . howToGetVaccine . heading ) . toEqual ( mockHowSection . headline ) ;
232234 expect ( styledVaccineContent . vaccineSideEffects . heading ) . toEqual ( mockSideEffectsSection . headline ) ;
235+ expect ( styledVaccineContent . callout ?. heading ) . toEqual ( mockCallout . heading ) ;
233236
234237 const expectedRsvHowToGetSection = "<div><p>para1</p><p>para2</p></div>" ;
235238 const expectedRsvPregnancyHowToGetSection = `<div><div><p>para3</p><p>para4</p></div></div>` ;
0 commit comments