• 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

25.0
/src/rate/examples/template/template.component.ts
1
import { AfterViewInit, ChangeDetectionStrategy, Component, TemplateRef, viewChild } from '@angular/core';
2
import { FormsModule } from '@angular/forms';
3
import { ThyRate } from 'ngx-tethys/rate';
4

5
@Component({
6
    selector: 'thy-rate-template-example',
7
    templateUrl: './template.component.html',
1✔
8
    changeDetection: ChangeDetectionStrategy.OnPush,
UNCOV
9
    imports: [ThyRate, FormsModule]
×
UNCOV
10
})
×
UNCOV
11
export class ThyRateTemplateExampleComponent implements AfterViewInit {
×
UNCOV
12
    readonly icon1 = viewChild<TemplateRef<any>>('icon1');
×
UNCOV
13

×
UNCOV
14
    readonly icon2 = viewChild<TemplateRef<any>>('icon2');
×
UNCOV
15

×
UNCOV
16
    readonly icon3 = viewChild<TemplateRef<any>>('icon3');
×
UNCOV
17

×
UNCOV
18
    readonly icon4 = viewChild<TemplateRef<any>>('icon4');
×
19

20
    readonly icon5 = viewChild<TemplateRef<any>>('icon5');
21

×
22
    value = 1;
×
23

24
    icon = 'smile';
1✔
25

1✔
26
    icons = ['angry', 'angry', 'expressionless', 'smile', 'smile'];
27

28
    templates: TemplateRef<any>[] = null;
29

30
    template: TemplateRef<any> = null;
31

32
    constructor() {}
33

1✔
34
    ngAfterViewInit(): void {
35
        this.templates = [this.icon1(), this.icon2(), this.icon3(), this.icon4(), this.icon5()];
36
        this.template = this.icon5();
37
    }
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