You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need some help/advice since I am stuck on a problem with unit testing my AppComponent. This is the component containing the notification-bar. I cannot seem to get my unit tests for this component working because of something that has to do with this plugin.
If I import the NotificationBarModule in my tests I get this error : Cannot read property 'unsubscribe' of undefined.
If I import only the NotificationBarComponent i get this error : No provider for NotificationBarService.
And I can't seem to provide the NotificationBarService (I tried a lot of things).
I am not sure if the problem is on my end or not, but if you have some working unit tests could you perhaps help me out? I could provide more information if you need it.
Thanks,
Alexander
The text was updated successfully, but these errors were encountered:
Hello,
I need some help/advice since I am stuck on a problem with unit testing my AppComponent. This is the component containing the notification-bar. I cannot seem to get my unit tests for this component working because of something that has to do with this plugin.
If I import the NotificationBarModule in my tests I get this error :
Cannot read property 'unsubscribe' of undefined.
If I import only the NotificationBarComponent i get this error :
No provider for NotificationBarService.
And I can't seem to provide the NotificationBarService (I tried a lot of things).
I am not sure if the problem is on my end or not, but if you have some working unit tests could you perhaps help me out? I could provide more information if you need it.
Thanks,
Alexander
The text was updated successfully, but these errors were encountered: