All files / app/component/comment/comment-thread comment-thread.component.html

50% Statements 4/8
50% Branches 1/2
100% Functions 0/0
50% Lines 4/8

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 10 11 12 13 14 15 16 17 18 192x 6x             6x 6x                  
<ng-container *mobxAutorun>
  @for (comment of newComments; track comment.url) {
 
    <app-comment #comment
                 [ref]="comment"
                 [depth]="depth"
                 [context]="context"></app-comment>
  }
  @if (depth > 0) {
    @for (comment of comments; track comment.origin + comment.url) {
      <app-comment #comment
                   [ref]="comment"
                   [scrollToLatest]="scrollToLatest"
                   [depth]="depth"
                   [context]="context"></app-comment>
    }
  }
</ng-container>