We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7478eb commit 4cde6a8Copy full SHA for 4cde6a8
src/app/check-and-book-vaccinations/page.test.tsx
@@ -94,7 +94,11 @@ describe("Vaccination Hub Page", () => {
94
95
const pregnancyHubContent: HTMLElement | null = screen.queryByTestId("pregnancy-hub-content");
96
97
- shouldShowPregnancyContent ? expect(pregnancyHubContent).toBeVisible() : expect(pregnancyHubContent).toBeNull();
+ if (shouldShowPregnancyContent) {
98
+ expect(pregnancyHubContent).toBeVisible();
99
+ } else {
100
+ expect(pregnancyHubContent).toBeNull();
101
+ }
102
});
103
104
0 commit comments