• 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

28.57
/src/date-picker/lib/date/date-header.component.ts
1
import { ChangeDetectionStrategy, Component } from '@angular/core';
2
import { CalendarHeader, PanelSelector } from '../calendar/calendar-header.component';
3
import { ThyIcon } from 'ngx-tethys/icon';
4
import { NgClass } from '@angular/common';
5

6
/**
7
 * @private
8
 */
9
@Component({
10
    changeDetection: ChangeDetectionStrategy.OnPush,
1✔
11
    // eslint-disable-next-line @angular-eslint/component-selector
UNCOV
12
    selector: 'date-header',
×
UNCOV
13
    templateUrl: '../calendar/calendar-header.component.html',
×
UNCOV
14
    imports: [NgClass, ThyIcon]
×
15
})
16
export class DateHeader extends CalendarHeader {
17
    getSelectors(): PanelSelector[] {
UNCOV
18
        const yearFormat = this.locale().yearFormat;
×
19
        const monthFormat = this.locale().monthFormat;
20

21
        return [
22
            {
23
                className: `${this.prefixCls}-year-btn`,
UNCOV
24
                title: '',
×
25
                onClick: () => this.changePanel('year'),
26
                label: this.formatDateTime(yearFormat)
27
            },
28
            {
29
                className: `${this.prefixCls}-month-btn`,
30
                title: '',
1✔
31
                onClick: () => this.changePanel('month'),
32
                label: this.formatDateTime(monthFormat)
33
            }
34
        ];
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

© 2025 Coveralls, Inc