Uploaded image for project: 'Subscription Watch'
  1. Subscription Watch
  2. SWATCH-1348

GUI - Prep for updating to React 18

    XMLWordPrintable

Details

    • Story
    • Resolution: Done
    • Major
    • 2023-08-22 - GUI
    • 2023-08-22 - GUI
    • None
    • False
    • Hide

      None

      Show
      None
    • False

    Description

      As a console tenant the GUI can expect an update at the consoledot level to React 18. The GUI code base appears prepped however the Enzyme plugin we use to help in unit testing needs to be either updated or replaced.

      Acceptable solutions

      • Replace Enzyme with React testing
      • Update Enzyme with plugin for React 18

      Assumptions and questions

      • Updating Enzyme would be the fastest solution. However, Enzyme is only minimally maintained and has been superseded by the React testing library.¬†
      • Replacing Enzyme will result in all unit tests needing to be updated.
      • There is a minimal patch we can write that uses React testing methods proxied with old Enzyme methods¬†
      • There should be NO component updates associated with this work, only GUI unit tests.

      Attachments

        Issue Links

          Activity

            People

              cdcabrera Charles Cabrera
              cdcabrera Charles Cabrera
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: