Hi
I am using igGrid to build a Angular2 component, I believe IgGrid is developed using JQuery, instead Angular2 but it can be used with Angular2.
Now if I write unit test cases for the component then won't it load jQuery & igGrid components internally?
Also can somebody please share some sample code how can I write unit test cases for the component which uses igGrid in Angular2?
Atul Sureka
Hello Atul,
Thank you for posting into Infragistics community!
The components are not loading jQuery and igGrid internally, you need to handle this.
Angular2 repo has a set of tests for all of the widgets, including the igGrid. Here's a link to the igGrid ones.
Also you can review the karma config file to how the scripts are loaded.