Skip to content

Commit

Permalink
Update packages/manager/src/features/ObjectStorage/AccessKeyLanding/A…
Browse files Browse the repository at this point in the history
…ccessKeyTable/HostNameTableCell.tsx

Co-authored-by: Banks Nussman <115251059+bnussman-akamai@users.noreply.github.com>
  • Loading branch information
jaalah-akamai and bnussman-akamai authored Dec 4, 2024
1 parent 8755f08 commit 0a0bfa5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const HostNameTableCell = (props: Props) => {
{formattedFirstEndpoint}&nbsp;
{showMultipleRegions ? (
<>
| +{regions.length - 1} regions |&nbsp;
| +{regions.length - 1} {pluralize('region', 'regions', regions.length - 1)} |&nbsp;

Check failure on line 48 in packages/manager/src/features/ObjectStorage/AccessKeyLanding/AccessKeyTable/HostNameTableCell.tsx

View workflow job for this annotation

GitHub Actions / test-manager

Unhandled error

ReferenceError: pluralize is not defined ❯ HostNameTableCell src/features/ObjectStorage/AccessKeyLanding/AccessKeyTable/HostNameTableCell.tsx:48:29 ❯ renderWithHooks ../../node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ updateFunctionComponent ../../node_modules/react-dom/cjs/react-dom.development.js:19617:20 ❯ beginWork ../../node_modules/react-dom/cjs/react-dom.development.js:21640:16 ❯ beginWork$1 ../../node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork ../../node_modules/react-dom/cjs/react-dom.development.js:26599:12 ❯ workLoopSync ../../node_modules/react-dom/cjs/react-dom.development.js:26505:5 ❯ renderRootSync ../../node_modules/react-dom/cjs/react-dom.development.js:26473:7 ❯ recoverFromConcurrentError ../../node_modules/react-dom/cjs/react-dom.development.js:25889:20 ❯ performSyncWorkOnRoot ../../node_modules/react-dom/cjs/react-dom.development.js:26135:20 This error originated in "src/features/ObjectStorage/AccessKeyLanding/AccessKeyTable/HostNameTableCell.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should render all "Regions/S3 Hostnames" in the cell when there are multiple regions". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
<StyledLinkButton
onClick={() => {
setHostNames(regions);
Expand Down

0 comments on commit 0a0bfa5

Please sign in to comment.