Uploaded image for project: 'OpenShift Console'
  1. OpenShift Console
  2. CONSOLE-4860

Missed Enzyme to RTL migration tests

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • None
    • None
    • OCP Console - Sprint 279

      Migrate the missed enzyme unit tests to React Testing Library.

       

      A.C.

      • All Enzyme tests are migrated to RTL
      • All tests are passing in CI 

      Missed tests

       1.  frontend/packages/console-app/src/components/detect-perspective/{}tests{}/DetectPerspective.spec.tsx,

       2.  frontend/packages/console-app/src/components/detect-perspective/{}tests{}/PerspectiveDetector.spec.tsx,

       3.  frontend/packages/dev-console/src/components/import/image-search/{}tests{}/ImageStream.spec.tsx,

        4. frontend/packages/dev-console/src/components/monitoring/dashboard/{}tests{}/MonitoringDashboardGraph.spec.tsx,

        5. frontend/packages/webterminal-plugin/src/components/cloud-shell/setup/{}tests{}/NamespaceSection.spec.tsx

              cajieh Cyril Ajieh
              cajieh Cyril Ajieh
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: