You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "M Tien (Jira)" <ji...@apache.org> on 2021/05/12 23:39:00 UTC

[jira] [Created] (NIFIREG-454) Unable to write frontend tests

M Tien created NIFIREG-454:
------------------------------

             Summary: Unable to write frontend tests
                 Key: NIFIREG-454
                 URL: https://issues.apache.org/jira/browse/NIFIREG-454
             Project: NiFi Registry
          Issue Type: Bug
    Affects Versions: 0.8.0
            Reporter: M Tien
         Attachments: Screen Shot 2021-04-22 at 10.13.06 AM.png, Screen Shot 2021-05-12 at 4.21.03 PM.png

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:

!Screen Shot 2021-04-22 at 10.13.06 AM.png!

 

*Example 2*

Unable to create a Jasmine spy:

!Screen Shot 2021-05-12 at 4.21.03 PM.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)