mirror of
https://github.com/bitwarden/browser
synced 2026-02-05 19:23:19 +00:00
docs(notification-processing): [PM-19877] System Notification Implementation - Removed incorrect comments for server notifications.
This commit is contained in:
@@ -304,7 +304,7 @@ describe("Default task service", () => {
|
||||
});
|
||||
|
||||
describe("listenForTaskNotifications()", () => {
|
||||
it("should not subscribe to server notifications when there are no unlocked users", () => {
|
||||
it("should not subscribe to notifications when there are no unlocked users", () => {
|
||||
mockAuthStatuses$.next({
|
||||
[userId]: AuthenticationStatus.Locked,
|
||||
});
|
||||
@@ -320,7 +320,7 @@ describe("Default task service", () => {
|
||||
subscription.unsubscribe();
|
||||
});
|
||||
|
||||
it("should not subscribe to server notifications when no users have tasks enabled", () => {
|
||||
it("should not subscribe to notifications when no users have tasks enabled", () => {
|
||||
mockAuthStatuses$.next({
|
||||
[userId]: AuthenticationStatus.Unlocked,
|
||||
});
|
||||
@@ -336,7 +336,7 @@ describe("Default task service", () => {
|
||||
subscription.unsubscribe();
|
||||
});
|
||||
|
||||
it("should subscribe to server notifications when there are unlocked users with tasks enabled", () => {
|
||||
it("should subscribe to notifications when there are unlocked users with tasks enabled", () => {
|
||||
mockAuthStatuses$.next({
|
||||
[userId]: AuthenticationStatus.Unlocked,
|
||||
});
|
||||
@@ -378,7 +378,7 @@ describe("Default task service", () => {
|
||||
subscription.unsubscribe();
|
||||
});
|
||||
|
||||
it("should ignore server notifications for other users", async () => {
|
||||
it("should ignore notifications for other users", async () => {
|
||||
mockAuthStatuses$.next({
|
||||
[userId]: AuthenticationStatus.Unlocked,
|
||||
});
|
||||
@@ -403,7 +403,7 @@ describe("Default task service", () => {
|
||||
subscription.unsubscribe();
|
||||
});
|
||||
|
||||
it("should ignore other server notifications types", async () => {
|
||||
it("should ignore other notifications types", async () => {
|
||||
mockAuthStatuses$.next({
|
||||
[userId]: AuthenticationStatus.Unlocked,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user