In-memory state of the notify mock.
service.mock.state().badges.get('w1'); // 3 Copy
service.mock.state().badges.get('w1'); // 3
Badge count per window.
Registered channels per window, keyed by channel id.
Windows that already received notify.controls.
notify.controls
Monotonic id counter.
Active notifications by id.
In-memory state of the notify mock.
Example