Skip to content

Commit

Permalink
Better test
Browse files Browse the repository at this point in the history
  • Loading branch information
abailly-akamai committed Feb 7, 2024
1 parent a72d6d6 commit 8fb5179
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ describe('PlacementGroupsLinodesTable', () => {
<PlacementGroupsLinodesTable {...defaultProps} />
);

expect(getAllByTestId(/placement-group-linode-/i)).toHaveLength(6);
expect(getAllByTestId(/placement-group-linode-/i)).toHaveLength(5);
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,7 @@ export const PlacementGroupsLinodesTable = React.memo((props: Props) => {
pageSize,
}) => (
<>
<Table
aria-label="List of Linodes in this Placement Group"
data-testid="placement-group-linode-list"
>
<Table aria-label="List of Linodes in this Placement Group">
<TableHead>
<TableRow>
<TableSortCell
Expand Down

0 comments on commit 8fb5179

Please sign in to comment.