Skip to content

Commit

Permalink
feat(dh): fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
cmoinier committed Jan 19, 2024
1 parent 91f2cfd commit ab66332
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ describe('GnUiLinkifyDirective', () => {
fixture.detectChanges()
await fixture.whenStable()
const href = getAnchorElement()[0].nativeElement.getAttribute('href')
const matIcon = getAnchorElement()[0].nativeElement.childNodes[0]
const matIcon = getAnchorElement()[0].nativeElement.childNodes[1]
expect(href).toBe(testWithHTML.output)
expect(matIcon.nodeName).toContain('MAT-ICON')
})
Expand Down

0 comments on commit ab66332

Please sign in to comment.