All files / src/app/extensions/rating/shared/product-rating product-rating.component.html

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 101x                  
@if ((isVariationMaster$ | async) === false) {
<div role="img" [attr.aria-label]="'product.review.rating.score' | translate : { '0': rating$ | async }">
  @for (fill of stars$ | async; track $index; let lastStar = $last) {
  <ish-product-rating-star [filled]="fill" />
  @if (lastStar && !hideNumberOfReviews) {
  <span class="product-info">({{ numberOfReviews$ | async }})</span>
  } }
</div>
}