Skip to content

Commit d20307e

Browse files
VIA-618 SB 1st attempt at real content for Flu in pregnancy page recommendation.
1 parent df93669 commit d20307e

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

src/services/content-api/parsers/custom/flu-in-pregnancy.test.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,7 @@ describe("getFilteredContentForFluInPregnancyVaccine", () => {
125125

126126
it("should return recommendation", () => {
127127
const expected = {
128-
recommendation: {
129-
heading: "Breakfast",
130-
content: "I'll have:\n\n* Egg\n* Bacon\n* Sausage\n* Bubble\n* Mushrooms\n* Black Pudding\n* Toast",
131-
},
128+
recommendation: { heading: "The flu vaccine is recommended if you:", content: "* are pregnant" },
132129
};
133130

134131
const pageCopy = getFilteredContentForFluInPregnancyVaccine(apiResponse);

src/services/content-api/parsers/custom/flu-in-pregnancy.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ export const getFilteredContentForFluInPregnancyVaccine = (apiContent: string):
3737
content: "Flu vaccine bookings will reopen in autumn 2026",
3838
};
3939
const recommendation: HeadingWithContent = {
40-
heading: "Breakfast",
41-
content: "I'll have:\n\n* Egg\n* Bacon\n* Sausage\n* Bubble\n* Mushrooms\n* Black Pudding\n* Toast",
40+
heading: "The flu vaccine is recommended if you:",
41+
content: "* are pregnant",
4242
};
4343

4444
return {

0 commit comments

Comments
 (0)