• 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

33.33
/src/notify/notify-queue.service.ts
1
import { Injectable, inject } from '@angular/core';
2
import { ThyAbstractMessageQueue } from 'ngx-tethys/message';
3
import { map, shareReplay } from 'rxjs/operators';
4
import { ThyNotifyRef } from './notify-ref';
5
import { ThyGlobalNotifyConfig, THY_NOTIFY_DEFAULT_CONFIG, THY_NOTIFY_DEFAULT_CONFIG_VALUE } from './notify.config';
6

7
/**
8
 * @internal
9
 */
1✔
10
@Injectable({
UNCOV
11
    providedIn: 'root'
×
UNCOV
12
})
×
13
export class ThyNotifyQueue extends ThyAbstractMessageQueue<ThyNotifyRef> {
14
    topLeftQueues$ = this.queues$.pipe(
15
        map(queues => queues.filter(item => item.config.placement === 'topLeft')),
UNCOV
16
        shareReplay()
×
UNCOV
17
    );
×
UNCOV
18

×
UNCOV
19
    topRightQueues$ = this.queues$.pipe(
×
20
        map(queues => queues.filter(item => item.config.placement === 'topRight')),
21
        shareReplay()
1✔
22
    );
23

1✔
24
    bottomLeftQueues$ = this.queues$.pipe(
25
        map(queues => queues.filter(item => item.config.placement === 'bottomLeft')),
26
        shareReplay()
27
    );
28

29
    bottomRightQueues$ = this.queues$.pipe(
30
        map(queues => queues.filter(item => item.config.placement === 'bottomRight')),
31
        shareReplay()
32
    );
33

34
    constructor() {
35
        const defaultConfig = inject(THY_NOTIFY_DEFAULT_CONFIG);
36

37
        super({
38
            ...THY_NOTIFY_DEFAULT_CONFIG_VALUE,
39
            ...defaultConfig
40
        });
41
    }
42
}
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