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

atinc / ngx-tethys / 0bbb2cec-209e-4d8a-b1b3-6bc54e05daa6

04 Sep 2023 08:40AM UTC coverage: 15.616% (-74.6%) from 90.2%
0bbb2cec-209e-4d8a-b1b3-6bc54e05daa6

Pull #2829

circleci

cmm-va
fix: add test
Pull Request #2829: fix: add tabIndex

300 of 6386 branches covered (0.0%)

Branch coverage included in aggregate %.

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

2849 of 13779 relevant lines covered (20.68%)

83.41 hits per line

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

37.5
/src/notify/notify-queue.service.ts
1
import { Inject, Injectable } 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({
11
    providedIn: 'root'
×
12
})
13
export class ThyNotifyQueue extends ThyAbstractMessageQueue<ThyNotifyRef> {
14
    topLeftQueues$ = this.queues$.pipe(
15
        map(queues => queues.filter(item => item.config.placement === 'topLeft')),
×
16
        shareReplay()
×
17
    );
×
18

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

24
    bottomLeftQueues$ = this.queues$.pipe(
1✔
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(@Inject(THY_NOTIFY_DEFAULT_CONFIG) defaultConfig: ThyGlobalNotifyConfig) {
35
        super({
36
            ...THY_NOTIFY_DEFAULT_CONFIG_VALUE,
37
            ...defaultConfig
38
        });
39
    }
40
}
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