Skip to content

Commit 21a5a10

Browse files
VIA-629 SB & EO Remove duplicate useFakeTimers() call from test.
1 parent b05ecd1 commit 21a5a10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/content-api/parsers/custom/covid-19.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ describe("buildFilteredContentForCovid19Vaccine", () => {
5555

5656
it("should not return a callout when no campaign is active", async () => {
5757
// Given
58-
jest.useFakeTimers().setSystemTime(new Date("2025-12-01"));
58+
jest.setSystemTime(new Date("2025-12-01"));
5959

6060
// When
6161
const pageCopy = await buildFilteredContentForCovid19Vaccine(JSON.stringify(genericVaccineContentAPIResponse));

0 commit comments

Comments
 (0)