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

atinc / ngx-tethys / #55

30 Jul 2025 07:08AM UTC coverage: 9.866% (-80.4%) from 90.297%
#55

push

why520crazy
feat(empty): add setMessage for update display text #TINFR-2616

92 of 6794 branches covered (1.35%)

Branch coverage included in aggregate %.

2014 of 14552 relevant lines covered (13.84%)

6.15 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({
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')),
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

© 2026 Coveralls, Inc