| 343 | |
| 344 | it('should display correct error message for uninitialized @Output', () => { |
| 345 | @Component({ |
| 346 | selector: 'my-uninitialized-output', |
| 347 | template: '<p>It works!</p>', |
| 348 | standalone: false, |
| 349 | }) |
| 350 | class UninitializedOutputComp { |
| 351 | @Output() customEvent!: EventEmitter<any>; |
| 352 | } |
| 353 | |
| 354 | const template = |
| 355 | '<my-uninitialized-output (customEvent)="doNothing()"></my-uninitialized-output>'; |