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

Investigate options with react-markdown

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      Investigate options with react-markdown:

      1) Currently, react-markdown does not work with jest

      2) react-markdown has not been updated in over a year.  We are currently at the latest version 9.0.1.

      3) Either we need to replace react-markdown completely or hope a new version of jest or markdown will fix our unit testing issue

      Additional Context:

      To get unit tests to pass, we had to mock the react-markdown component and reference that in the jest.config.js file.  Anything testing against the markdown component in actually using a static mock function.

       

              Unassigned Unassigned
              zherman Zac Herman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: