• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

atinc / ngx-tethys / 68ef226c-f83e-44c1-b8ed-e420a83c5d84

28 May 2025 10:31AM UTC coverage: 10.352% (-80.0%) from 90.316%
68ef226c-f83e-44c1-b8ed-e420a83c5d84

Pull #3460

circleci

pubuzhixing8
chore: xxx
Pull Request #3460: refactor(icon): migrate signal input #TINFR-1476

132 of 6823 branches covered (1.93%)

Branch coverage included in aggregate %.

10 of 14 new or added lines in 1 file covered. (71.43%)

11648 existing lines in 344 files now uncovered.

2078 of 14525 relevant lines covered (14.31%)

6.69 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

42.86
/src/comment/comment.component.ts
1
import { isTemplateRef } from 'ngx-tethys/util';
2
import { SafeAny } from 'ngx-tethys/types';
3
import { ChangeDetectionStrategy, Component, TemplateRef, input } from '@angular/core';
4
import { ThyAvatar } from 'ngx-tethys/avatar';
5
import { ThyStringOrTemplateOutletDirective } from 'ngx-tethys/shared';
6
import { NgTemplateOutlet } from '@angular/common';
7

8
/**
9
 * 评论组件
10
 * @name thy-comment
11
 */
12
@Component({
13
    selector: 'thy-comment',
1✔
14
    templateUrl: './comment.component.html',
UNCOV
15
    host: {
×
UNCOV
16
        class: 'thy-comment'
×
UNCOV
17
    },
×
UNCOV
18
    changeDetection: ChangeDetectionStrategy.OnPush,
×
19
    imports: [NgTemplateOutlet, ThyStringOrTemplateOutletDirective, ThyAvatar]
20
})
1✔
21
export class ThyComment {
22
    /**
23
     * 展示评论作者
24
     */
25
    readonly thyAuthor = input<string | TemplateRef<SafeAny>>();
26

1✔
27
    /**
28
     * 展示评论时间
29
     */
30
    readonly thyDatetime = input<string | TemplateRef<SafeAny>>();
31

32
    /**
33
     * 展示评论作者头像
34
     */
35
    readonly thyAvatar = input<string | TemplateRef<SafeAny>>();
36

37
    isTemplateRef = isTemplateRef;
38
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc