lundi 7 septembre 2020

I'm unable to get my Jasmine tests to work on my Component that extends a base class

I have written the base angular component and every other component inherited that base component. Now for example to test the login component that inherited BaseComponent, I have to mock the BaseComponent, right now I did not find a way, even angular does not provide a way to mock Base classes. Has anyone done this before? Or any help because I am kind of blocked, and my all components inherited BaseComponent.

Here is the link where someone said, angular does not provide a way to mock Base Component https://github.com/angular/quickstart/issues/533#issuecomment-402731435

Login Page

Aucun commentaire:

Enregistrer un commentaire