Uploaded image for project: 'OCMUI - OpenShift Cluster Manager UI'
  1. OCMUI - OpenShift Cluster Manager UI
  2. OCMUI-3244

Add unit tests to files with low coverage - Set 7

    • Icon: Task Task
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • Core UI
    • OCMUI Core Sprint 271, OCMUI Core Sprint 272

      The purpose of this task is to create unit tests for the following files so the unit test coverage is as high as reasonably possible (aiming for at least 75% line coverage), but higher than 20% line coverage.

      Out-of-scope: Any clean-up or modification to the component or file itself—only the unit tests will be changed.

      NOTE: There are no changes to the functionality, behavior, or visual changes, no testing beyond passing unit tests is required.

       

      Files to have unit tests written for:

      • /src/components/clusters/wizards/rosa/ClusterRolesScreen/CustomOperatorRoleNames.jsx
      • src/components/clusters/common/ScaleSection/MachineTypeSelection/machineTypeSelectionHelper.test.ts
      • /src/components/clusters/wizards/rosa/UpdatesScreen/UpdatesScreen.jsx
      • /src/components/clusters/wizards/rosa/VPCScreen/VPCScreen.tsx
      • /src/components/clusters/wizards/rosa/common/BackToAssociateAwsAccountLink.jsx

              lkeren-ocm Lior Keren
              kdoberst Kim Doberstein
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: