Skip to content

Commit

Permalink
Loosen test which is too coupled to config
Browse files Browse the repository at this point in the history
  • Loading branch information
holly-cummins committed Jan 8, 2025
1 parent 3cf4656 commit 7773158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/contact.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ describe("ContactPage", () => {
});

it("includes multiple social links", async () => {
expect(screen.getAllByRole("link")).toHaveLength(5); // This is a bit coupled to our content, but it's easy enough to maintain
expect(screen.getAllByRole("link").length).toBeGreaterThanOrEqual(5); // This is a bit coupled to our content, but it's easy enough to maintain
});
});

0 comments on commit 7773158

Please sign in to comment.