mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
add to-do for cleanup
This commit is contained in:
@@ -5,7 +5,6 @@ import {
|
||||
ApiBasedRepositoryMillisecondTTLs
|
||||
} from "../../src/repositories/ApiBasedRepository";
|
||||
import { IEta } from "../../src/entities/entities";
|
||||
import * as repl from "node:repl";
|
||||
|
||||
/**
|
||||
* Update the global fetch function to return a specific object.
|
||||
@@ -552,6 +551,7 @@ describe("getShuttlesBySystemId", () => {
|
||||
test("getShuttlesBySystemId returns fresh data if expired", async () => {
|
||||
updateGlobalFetchMockJson(genericShuttleDataBySystemId);
|
||||
|
||||
// TODO: move construction of shuttle into method
|
||||
const initialCacheShuttle = {
|
||||
coordinates: {
|
||||
latitude: 33.791781,
|
||||
|
||||
Reference in New Issue
Block a user