Closed Almar closed 7 years ago
…' of undefined'.
When mocking a component with a event binding, for instance (click)="...", I get the following error. Adding the EventEmitter's fixes this.
TypeError: Cannot read property 'subscribe' of undefined
…' of undefined'.
When mocking a component with a event binding, for instance (click)="...", I get the following error. Adding the EventEmitter's fixes this.
TypeError: Cannot read property 'subscribe' of undefined