Skip to content

Commit

Permalink
Update unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Aug 11, 2023
1 parent f8f4cbf commit 4a58c38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions web/src/components/network/ConnectionsTable.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ export default function ConnectionsTable ({

return (
<Tr key={connection.id}>
<Td dataLabel="Name">{connection.name}</Td>
<Td dataLabel="IP addresses">{connection.addresses.map(formatIp).join(", ")}</Td>
<Td dataLabel={_("Name")}>{connection.name}</Td>
<Td dataLabel={_("IP addresses")}>{connection.addresses.map(formatIp).join(", ")}</Td>
<Td isActionCell>
<RowActions
id={`actions-for-connection-${connection.id}`}
Expand Down
2 changes: 1 addition & 1 deletion web/src/components/network/ConnectionsTable.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ describe("ConnectionsTable", () => {

const table = screen.getByRole("grid");
within(table).getByText("Name");
within(table).getByText("Ip addresses");
within(table).getByText("IP addresses");
within(table).getByText("WiFi 1");
within(table).getByText("192.168.69.200/24");
within(table).getByText("WiFi 2");
Expand Down

0 comments on commit 4a58c38

Please sign in to comment.