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

atinc / ngx-tethys / 42cede8a-a636-4b81-b6eb-23535d958128

30 May 2024 08:41AM UTC coverage: 90.416% (-0.004%) from 90.42%
42cede8a-a636-4b81-b6eb-23535d958128

Pull #3099

circleci

xinglu01
fix(date-picker): add test
Pull Request #3099: fix(date-picker): handle range directive add timestampPrecision (#INFR-11707)

5467 of 6692 branches covered (81.69%)

Branch coverage included in aggregate %.

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

4 existing lines in 2 files now uncovered.

13212 of 13967 relevant lines covered (94.59%)

983.39 hits per line

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

88.89
/src/date-picker/date-picker.service.ts
1
import { Inject, Injectable, Optional } from '@angular/core';
2
import { DEFAULT_DATE_PICKER_CONFIG, ThyDatePickerConfig, THY_DATE_PICKER_CONFIG } from './date-picker.config';
3

4
@Injectable({ providedIn: 'root' })
1✔
5
export class ThyDatePickerConfigService {
6
    config: ThyDatePickerConfig;
195✔
7

8
    constructor(@Optional() @Inject(THY_DATE_PICKER_CONFIG) datePickerConfig: ThyDatePickerConfig) {
9
        this.config = { ...DEFAULT_DATE_PICKER_CONFIG, ...datePickerConfig };
149✔
10
    }
11

12
    get shortcutDatePresets() {
1✔
13
        return this.config.shortcutDatePresets;
14
    }
15

149✔
16
    get shortcutPosition() {
17
        return this.config.shortcutPosition;
18
    }
149✔
19

20
    get showShortcut() {
UNCOV
21
        return this.config.showShortcut;
×
22
    }
23
    get shortcutRangesPresets() {
1✔
24
        return this.config.shortcutRangesPresets;
25
    }
26

27
    get timestampPrecision() {
1✔
28
        return this.config.timestampPrecision;
29
    }
30
}
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