Skip to content

Commit ea61309

Browse files
VIA-618 SB Correct content for Flu in pregnancy page recommendation.
1 parent d20307e commit ea61309

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

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

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

126126
it("should return recommendation", () => {
127127
const expected = {
128-
recommendation: { heading: "The flu vaccine is recommended if you:", content: "* are pregnant" },
128+
recommendation: {
129+
heading: "The flu vaccine is recommended if you:",
130+
content: "* are pregnant\n* have not had the vaccine during this pregnancy",
131+
},
129132
};
130133

131134
const pageCopy = getFilteredContentForFluInPregnancyVaccine(apiResponse);

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const getFilteredContentForFluInPregnancyVaccine = (apiContent: string):
3838
};
3939
const recommendation: HeadingWithContent = {
4040
heading: "The flu vaccine is recommended if you:",
41-
content: "* are pregnant",
41+
content: ["* are pregnant", "* have not had the vaccine during this pregnancy"].join("\n"),
4242
};
4343

4444
return {

0 commit comments

Comments
 (0)