Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/services/content-api/parsers/custom/covid-19.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,15 @@ describe("buildFilteredContentForCovid19Vaccine", () => {
content: [
"## If this applies to you",
"You can book a COVID-19 vaccination appointment online now.",
"Vaccination appointments will take place from 13 April.",
"Vaccination appointments will take place from 13 April 2026.",
].join("\n\n") as Content,
button: {
label: "Book, cancel or change an appointment" as Label,
url: new URL("https://test-nbs-url.example.com/sausages") as ButtonUrl,
},
moreInfo: [
"From 13 April, you may also be able to get vaccinated at:",
"* your GP surgery\n* a walk-in COVID-19 vaccination site\n* your care home (if you live in a care home)",
"You do not need to wait for an invitation before booking an appointment.",
"* a walk-in COVID-19 vaccination site\n* a local service, such as a community pharmacy or your GP surgery\n* your care home (if you live in a care home)",
].join("\n\n") as Content,
},
];
Expand Down
7 changes: 3 additions & 4 deletions src/services/content-api/parsers/custom/covid-19.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const buildFilteredContentForCovid19Vaccine = async (apiContent: string):
const recommendation: HeadingWithContent = {
heading: "The COVID-19 vaccine is recommended if you:",
content: [
"* are aged 75 or over",
"* are aged 75 or over (including those who will be 75 by 30 June 2026)",
"* are aged 6 months to 74 years and have a weakened immune system because of a health condition or treatment",
"* live in a care home for older adults",
].join("\n"),
Expand Down Expand Up @@ -95,13 +95,12 @@ async function _buildPreOpenActions(): Promise<Action[]> {
content: [
"## If this applies to you",
"You can book a COVID-19 vaccination appointment online now.",
"Vaccination appointments will take place from 13 April.",
"Vaccination appointments will take place from 13 April 2026.",
].join("\n\n") as Content,
button: { label: "Book, cancel or change an appointment" as Label, url: nbsURL },
moreInfo: [
"From 13 April, you may also be able to get vaccinated at:",
"* your GP surgery\n* a walk-in COVID-19 vaccination site\n* your care home (if you live in a care home)",
"You do not need to wait for an invitation before booking an appointment.",
"* a walk-in COVID-19 vaccination site\n* a local service, such as a community pharmacy or your GP surgery\n* your care home (if you live in a care home)",
].join("\n\n") as Content,
};

Expand Down
Loading