Write a test case in angular for the below code. it should start…
Question Answered step-by-step Write a test case in angular for the below code. it should start… Write a test case in angular for the below code. it should start with it(‘should excute afterView() ‘ , () => {}afterView() {if(PlatformBrowser(this.platformId)) {const listItems = this.summaryTerms.nativeElement.querySelectorAll (`a[href]`);if((listItems !== undefined || listItems !== null) && listItems.length > 0) {for (const listItem of listItems) {if(listItem !== null) {this.ren.setAttribute(listItem, ‘target’, ‘_blank’);} } }} urgent please Engineering & Technology Computer Science Share QuestionEmailCopy link Comments (0)


