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

atinc / ngx-tethys / d4d3bf94-0b08-4dba-b53c-fd90c5e0b80a

27 Mar 2025 01:46AM UTC coverage: 90.236% (+0.06%) from 90.179%
d4d3bf94-0b08-4dba-b53c-fd90c5e0b80a

push

circleci

minlovehua
feat: save draft

5598 of 6865 branches covered (81.54%)

Branch coverage included in aggregate %.

8 of 8 new or added lines in 7 files covered. (100.0%)

157 existing lines in 46 files now uncovered.

13357 of 14141 relevant lines covered (94.46%)

992.52 hits per line

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

81.82
/src/rate/examples/template/template.component.ts
1
import { AfterViewInit, ChangeDetectionStrategy, Component, TemplateRef, ViewChild } from '@angular/core';
2

3
@Component({
4
    selector: 'thy-rate-template-example',
1✔
5
    templateUrl: './template.component.html',
6
    changeDetection: ChangeDetectionStrategy.OnPush,
5✔
7
    standalone: false
5✔
8
})
5✔
9
export class ThyRateTemplateExampleComponent implements AfterViewInit {
5✔
10
    @ViewChild('icon1') icon1: TemplateRef<any>;
5✔
11

12
    @ViewChild('icon2') icon2: TemplateRef<any>;
UNCOV
13

×
14
    @ViewChild('icon3') icon3: TemplateRef<any>;
×
15

16
    @ViewChild('icon4') icon4: TemplateRef<any>;
1✔
17

1✔
18
    @ViewChild('icon5') icon5: TemplateRef<any>;
19

20
    value = 1;
21

22
    icon = 'smile';
23

24
    icons = ['angry', 'angry', 'expressionless', 'smile', 'smile'];
25

1✔
26
    templates: TemplateRef<any>[] = null;
27

28
    template: TemplateRef<any> = null;
29

30
    constructor() {}
31

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