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

atinc / ngx-tethys / 40aeefea-f5d6-4283-afe7-6d56884a64d4

28 May 2025 07:16AM UTC coverage: 90.291% (-0.002%) from 90.293%
40aeefea-f5d6-4283-afe7-6d56884a64d4

push

circleci

web-flow
refactor(rate): migrate to signal #TINFR-1763 (#3459)

5561 of 6832 branches covered (81.4%)

Branch coverage included in aggregate %.

40 of 41 new or added lines in 3 files covered. (97.56%)

3 existing lines in 2 files now uncovered.

13717 of 14519 relevant lines covered (94.48%)

900.36 hits per line

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

87.5
/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,
9
    imports: [ThyRate, FormsModule]
5✔
10
})
5✔
11
export class ThyRateTemplateExampleComponent implements AfterViewInit {
5✔
12
    readonly icon1 = viewChild<TemplateRef<any>>('icon1');
5✔
13

5✔
14
    readonly icon2 = viewChild<TemplateRef<any>>('icon2');
5✔
15

5✔
16
    readonly icon3 = viewChild<TemplateRef<any>>('icon3');
5✔
17

5✔
18
    readonly icon4 = viewChild<TemplateRef<any>>('icon4');
5✔
19

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

×
UNCOV
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

© 2026 Coveralls, Inc