我想测试我的组件,我想更详细地测试我的ng如何?
<a class="box-label__title-label-wrapper box-label__title-label-wrapper--margin-top"
(click)="click()"
[link]="link"
[target]="target"
[externalLink]="externalLink"
[ngClass]="{'clickable': clickable, 'disabled': disabled}">
<div *ngIf="headings" class="box-label__title box-label__title--label-{{display}}" maeOverflow>
<span *ngFor="let h of headings"
class="box-label__title-element"><span class="box-label__title-key">{{h.key}}</span>: <span class="box-label__title-value">{{h.value}}</span></span>
</div>
<span class="box-label__label box-label__label--{{display}}" maeOverflow>{{label || ' '}}</span>
</a>
罐