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
Aucun commentaire:
Enregistrer un commentaire