[ 
https://issues.apache.org/jira/browse/IGNITE-9027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16547333#comment-16547333
 ] 

Ilya Borisov commented on IGNITE-9027:
--------------------------------------

This is caused by several factors:
1. Importing angular in unit tests. This is already handled by karma config, so 
those imports are safe to remove.
2. Importing angular in the app code. The global angular import is done in 
vendors.js, so these should be safe to remove too.

If angular imports are removed, TS will nag about UMD module import, but this 
can be fixed by declaring global angular namespace in app.d.ts like suggested 
[here|https://stackoverflow.com/q/47542928/333777].

> Web console: "Tried to load angular more than once" in unit tests
> -----------------------------------------------------------------
>
>                 Key: IGNITE-9027
>                 URL: https://issues.apache.org/jira/browse/IGNITE-9027
>             Project: Ignite
>          Issue Type: Improvement
>          Components: wizards
>            Reporter: Ilya Borisov
>            Assignee: Ilya Borisov
>            Priority: Minor
>         Attachments: image-2018-07-18-10-30-55-424.png, 
> image-2018-07-18-10-31-13-453.png
>
>
> When running unit tests, several such warnings happen in a row:
>  !image-2018-07-18-10-31-13-453.png! 
> Fix whatever causes the issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to