mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 16:00:32 +00:00
remove cancelAllNotifications method (one less method to test
This commit is contained in:
@@ -225,8 +225,4 @@ export class NotificationService {
|
|||||||
}
|
}
|
||||||
return this.deviceIdsToDeliverTo[tuple.toString()].includes(deviceId);
|
return this.deviceIdsToDeliverTo[tuple.toString()].includes(deviceId);
|
||||||
}
|
}
|
||||||
|
|
||||||
public cancelAllNotifications(deviceId: string) {
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -223,10 +223,4 @@ describe("NotificationService", () => {
|
|||||||
expect(fetch as jest.Mock).toHaveBeenCalledTimes(0);
|
expect(fetch as jest.Mock).toHaveBeenCalledTimes(0);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
describe("cancelAllNotifications", () => {
|
|
||||||
it("clears all notifications scheduled to be sent", async () => {
|
|
||||||
|
|
||||||
});
|
|
||||||
})
|
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user