From b22aeef8cf6cd092e3338eb977bcb10204832eed Mon Sep 17 00:00:00 2001 From: Brendan Chen Date: Tue, 7 Jan 2025 16:16:19 -0800 Subject: [PATCH] add test cases for updateEtasForSystemIfTTL --- test/repositories/ApiBasedRepositoryTests.test.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/test/repositories/ApiBasedRepositoryTests.test.ts b/test/repositories/ApiBasedRepositoryTests.test.ts index 180576f..1b75664 100644 --- a/test/repositories/ApiBasedRepositoryTests.test.ts +++ b/test/repositories/ApiBasedRepositoryTests.test.ts @@ -340,4 +340,15 @@ describe("getEtasForStopId", () => { }); }); +describe("updateEtasForSystemIfTTL", () => { + test("updateEtasForSystemIfTTL does nothing if data is not TTL", async () => { + + }); + + test("updateEtasForSystemIfTTL updates all ETA data if data is TTL", async () => { + // For this one, stub out getStopsBySystemId to return mock data + + + }) +});