lundi 9 septembre 2019

Karma shows me error because i used reference variable in template

I am using test generated by angular cli. Issue is that I have used a local reference variable in my template for router animation like #outlet in the router-outlet. But now karma is showing me error that no exported member outlet

Well I am not able to find any solution. So, I haven't tried anything till now because I am new to testing.

As you can see there is #outlet reference variable in router-outlet tag and the code is working properly. But karma is giving me following error. "Error: Export of name 'outlet' not found! Error: Export of name 'outlet' not found!

Aucun commentaire:

Enregistrer un commentaire