Skip to content

Update src/react/ui-elements/__tests__/SelectAccountIAMRole.test.tsx #1633

Update src/react/ui-elements/__tests__/SelectAccountIAMRole.test.tsx

Update src/react/ui-elements/__tests__/SelectAccountIAMRole.test.tsx #1633

Status Failure
Total duration 5m 17s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 26 warnings
build: src/react/ui-elements/SelectAccountIAMRole.tsx#L78
Cannot find name 'NoOppMetricsAdapter'. Did you mean 'metricsAdapter'?
build: src/react/ui-elements/SelectAccountIAMRole.tsx#L266
Cannot find name 'NoOppMetricsAdapter'. Did you mean 'metricsAdapter'?
build
Process completed with exit code 2.
tests
Process completed with exit code 1.
oras
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
oras
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/[email protected], actions/[email protected], docker/setup-buildx-action@v2, docker/login-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/[email protected], actions/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/[email protected], actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/[email protected], actions/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
tests
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
tests
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
tests
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
tests
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
tests: src/js/mock/error.ts#L6
Unexpected any. Specify a different type
tests: src/js/mock/managementClient.ts#L262
Unexpected any. Specify a different type
tests: src/js/utils.ts#L2
Unexpected any. Specify a different type
tests: src/js/utils.ts#L4
Unexpected any. Specify a different type
tests: src/react/account/AccountRow.tsx#L16
Unexpected any. Specify a different type
tests: src/react/account/AccountRow.tsx#L17
Unexpected any. Specify a different type
tests: src/react/account/AccountRow.tsx#L29
Unexpected any. Specify a different type
tests: src/react/account/details/properties/AccountInfo.tsx#L13
'useListAccounts' is defined but never used
tests: src/react/account/details/properties/AccountInfo.tsx#L24
'useAccounts' is defined but never used
tests: src/react/account/details/properties/AccountInfo.tsx#L30
'useSetAssumedRole' is defined but never used