Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-8839

Unable to write frontend tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • NiFi Registry

    Description

      With the current frontend configuration of Angular and Javascript, it does not allow certain frontend tests to be added.

      Example 1

      Some issues that have arisen include, services that cannot be injected into components. It produces a compile error logged in the console:

       

      Example 2

      Unable to create a Jasmine spy:

      Attachments

        Activity

          People

            Unassigned Unassigned
            mtien Margot Tien
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: