()
| 967 | ) {} |
| 968 | |
| 969 | ngOnInit() { |
| 970 | this.renderer.listen(this.elementRef.nativeElement, 'click', (event: any) => { |
| 971 | this.count++; |
| 972 | this.eventObj1 = event; |
| 973 | }); |
| 974 | this.ngZone.runOutsideAngular(() => { |
| 975 | this.renderer.listen(this.elementRef.nativeElement, 'click', (event: any) => { |
| 976 | this.count++; |
| 977 | this.eventObj2 = event; |
| 978 | }); |
| 979 | }); |
| 980 | } |
| 981 | } |
| 982 | |
| 983 | const fixture = TestBed.createComponent(TestComponent); |
nothing calls this directly
no test coverage detected