Skip to content

Commit 3fed9b5

Browse files
fix: test
1 parent 7d501d3 commit 3fed9b5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/__tests__/FitList.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ describe("FitList", () => {
1616
/>
1717
);
1818

19-
expect(screen.getByText("Security")).toBeTruthy();
20-
expect(screen.getByText("Startups")).toBeTruthy();
19+
expect(screen.getAllByText("Security").length).toBeGreaterThan(0);
20+
expect(screen.getAllByText("Startups").length).toBeGreaterThan(0);
2121
});
2222

2323
it("renders the empty fallback when there are no items", () => {

0 commit comments

Comments
 (0)