Files
project-inter-server/test/services/NotificationServiceTests.test.ts
2025-02-02 13:49:00 -08:00

36 lines
805 B
TypeScript

import { describe, it } from "@jest/globals";
describe("NotificationService", () => {
describe("startReloadingNotificationTokens", () => {
it("reloads keys when first called", async () => {
});
it("sets a timer to reload keys", async () => {
});
});
describe("startListeningForNotification", () => {
it("sends a notification to given shuttle/stop ID when changed", async () => {
});
it("clears the notification after delivering successfully", async () => {
});
});
describe("stopListeningForNotification", () => {
it("stops notification from sending to given shuttle/stop ID", async () => {
});
});
describe("stopListeningForAllNotifications", () => {
it("clears all notifications scheduled to be sent", async () => {
});
})
});