mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
36 lines
822 B
TypeScript
36 lines
822 B
TypeScript
import { describe, it } from "@jest/globals";
|
|
|
|
describe("NotificationService", () => {
|
|
describe("reloadAPNsTokenIfTimePassed", () => {
|
|
it("reloads the token if token hasn't been generated yet", async () => {
|
|
|
|
});
|
|
|
|
it("doesn't reload the token if last refreshed time is recent", async () => {
|
|
|
|
});
|
|
})
|
|
|
|
describe("scheduleNotification", () => {
|
|
it("sends a notification to given shuttle/stop ID when changed", async () => {
|
|
|
|
});
|
|
|
|
it("clears the notification after delivering successfully", async () => {
|
|
|
|
});
|
|
});
|
|
|
|
describe("cancelNotification", () => {
|
|
it("stops notification from sending to given shuttle/stop ID", async () => {
|
|
|
|
});
|
|
});
|
|
|
|
describe("cancelAllNotifications", () => {
|
|
it("clears all notifications scheduled to be sent", async () => {
|
|
|
|
});
|
|
})
|
|
});
|