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

IgniteUI / igniteui-angular / 13331632524

14 Feb 2025 02:51PM UTC coverage: 22.015% (-69.6%) from 91.622%
13331632524

Pull #15372

github

web-flow
Merge d52d57714 into bcb78ae0a
Pull Request #15372: chore(*): test ci passing

1990 of 15592 branches covered (12.76%)

431 of 964 new or added lines in 18 files covered. (44.71%)

19956 existing lines in 307 files now uncovered.

6452 of 29307 relevant lines covered (22.02%)

249.17 hits per line

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

33.33
/projects/igniteui-angular/src/lib/calendar/months-view.pipe.ts
1
import { Pipe, PipeTransform } from '@angular/core';
2
import { Calendar } from './calendar';
3

4
/**
5
 * @hidden
6
 */
7
@Pipe({
8
    name: 'IgxMonthViewSlots',
9
    standalone: true
10
})
11
export class IgxMonthViewSlotsCalendar implements PipeTransform {
2✔
12
    public transform(monthViews: number) {
UNCOV
13
        return new Array(monthViews);
×
14
    }
15
}
16

17
/**
18
 * @hidden
19
 */
20
@Pipe({
21
    name: 'IgxGetViewDate',
22
    standalone: true
23
})
24
export class IgxGetViewDateCalendar implements PipeTransform {
2✔
25
    private calendar: Calendar;
26
    constructor() {
UNCOV
27
        this.calendar = new Calendar();
×
28
    }
29

30
    public transform(index: number, viewDate: Date): Date;
31
    public transform(index: number, viewDate: Date, wholeDate: false): number;
32
    public transform(index: number, viewDate: Date, wholeDate = true) {
×
UNCOV
33
        const date = this.calendar.timedelta(viewDate, 'month', index);
×
UNCOV
34
        return wholeDate ? date : date.getMonth();
×
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