Remove the app integration testing support

This commit is contained in:
2025-08-26 10:49:40 -07:00
parent 627cb87d34
commit 8b8aae3ff9

View File

@@ -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: {