From 792476a59b918829fbe141cad5e91d12db514e39 Mon Sep 17 00:00:00 2001 From: Brendan Chen Date: Tue, 7 Jan 2025 20:24:15 -0800 Subject: [PATCH] add tests for getShuttleById --- test/repositories/ApiBasedRepositoryTests.test.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/test/repositories/ApiBasedRepositoryTests.test.ts b/test/repositories/ApiBasedRepositoryTests.test.ts index 26e749e..fb30cdc 100644 --- a/test/repositories/ApiBasedRepositoryTests.test.ts +++ b/test/repositories/ApiBasedRepositoryTests.test.ts @@ -331,3 +331,17 @@ describe("updateEtasForSystemIfTTL", () => { }); }); +describe("getShuttleById", () => { + test("getShuttleById returns null if unseeded cache", async () => { + + }); + + test("getShuttleById returns old data if not expired", async () => { + + }); + + test("getShuttleById returns fresh data if expired", async () => { + + }); +}); +