I have an Angular 11 project and I don't know how to Test a private method.
here is an Code Example:
ngOnInit() {
this.addSubscription(this.myServiceFacade.myService.reloadEvent.subscribe(
this.foo.bind(this)
));
}
private foo() {
this.myString = 'test';
this.bar(MyStatus.Enum);
}
Any ideas?