Skip to content

Commit 84cf6f8

Browse files
Update src/ui/pages/apiKeys/ManageKeysTable.test.tsx
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 2ccd435 commit 84cf6f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ui/pages/apiKeys/ManageKeysTable.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ describe("OrgApiKeyTable Tests", () => {
132132
});
133133

134134
expect(screen.getByText("Test API Key 1")).toBeInTheDocument();
135-
expect(screen.getAllByText("[email protected]")).length(2);
136-
expect(screen.getAllByText("[email protected]")).length(2);
135+
expect(screen.getAllByText("[email protected]")).toHaveLength(2);
136+
expect(screen.getAllByText("[email protected]")).toHaveLength(2);
137137
expect(screen.getByText("Never")).toBeInTheDocument(); // For key that never expires
138138
});
139139

0 commit comments

Comments
 (0)