add test cases

This commit is contained in:
2025-01-22 19:43:52 -08:00
parent f080c1ab5e
commit dd5e95f7d1

View File

@@ -429,6 +429,66 @@ describe("UnoptimizedInMemoryRepository", () => {
});
});
describe("removeSystem", () => {
test("removes system given ID", async () => {
});
test("does nothing if system doesn't exist", async () => {
});
});
describe("removeRoute", () => {
test("removes route given ID", async () => {
});
test("does nothing if route doesn't exist", async () => {
});
});
describe("removeShuttle", () => {
test("removes shuttle given ID", async () => {
});
test("does nothing if shuttle doesn't exist", async () => {
});
});
describe("removeStop", () => {
test("removes stop given ID", async () => {
});
test("does nothing if stop doesn't exist", async () => {
});
});
describe("removeOrderedStop", () => {
test("removes ordered stop given stop ID and route ID", async () => {
});
test("does nothing if ordered stop doesn't exist", async () => {
});
});
describe("removeEta", () => {
test("removes eta given shuttle ID and stop ID", async () => {
});
test("does nothing if eta doesn't exist", async () => {
});
});
describe("clearSystemData", () => {
test("clears all systems from the repository", async () => {
const mockSystems = generateMockSystems();