From 8b8aae3ff939326bd0480b99b0f6def372e81537 Mon Sep 17 00:00:00 2001 From: Brendan Chen Date: Tue, 26 Aug 2025 10:49:40 -0700 Subject: [PATCH] Remove the app integration testing support --- src/index.ts | 28 +++++----------------------- 1 file changed, 5 insertions(+), 23 deletions(-) diff --git a/src/index.ts b/src/index.ts index 76a0839..f42d80b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -30,29 +30,11 @@ async function main() { let systems: InterchangeSystem[]; - if (process.argv.length > 2 && process.argv[2] == "integration-testing") { - console.log("Using integration testing setup") - - systems = await Promise.all(supportedIntegrationTestSystems.map( - async (systemArguments) => { - const system = InterchangeSystem.buildForTesting(systemArguments); - - // TODO: Have loading of different data for different systems in the future - await loadShuttleTestData(system.shuttleRepository); - if (system.parkingRepository) { - await loadParkingTestData(system.parkingRepository); - } - - return system; - } - )); - } else { - systems = await Promise.all(supportedSystems.map( - async (systemArguments) => { - return await InterchangeSystem.build(systemArguments); - }, - )); - } + systems = await Promise.all(supportedSystems.map( + async (systemArguments) => { + return await InterchangeSystem.build(systemArguments); + }, + )); const { url } = await startStandaloneServer(server, { listen: {