How would I need test a private method which in inside my ngAfterViewInit
. I can't test selectUsers()
directly since it is a private method.
ngAfterViewInit() {
timer(0).subscribe(() => {
this.selectUsers();
});
}
private selectUsers() {
# ...
}
Aucun commentaire:
Enregistrer un commentaire