angular-component
angular-component copied to clipboard
How to write Unit Tests for components created using angular-component polyfill?
I am trying to write some unit tests for the components created using this polyfill. Just need some hint to understand how we would be able to achive that?
With angular 1.5 we have $componentController api to instantiate components, What is alternative here?
@asadsahi we pull in v1.5 of ngMock or wherever that $componentControler api exists for the purpose unit testing. Seems to work fine and we haven't noticed in version discrepancy issues.