update tests and index with updated scheduler interface

This commit is contained in:
2025-03-31 19:21:10 -07:00
parent ef94055133
commit a95c89c15b
2 changed files with 15 additions and 24 deletions

View File

@@ -30,11 +30,13 @@ async function main() {
const appleNotificationSender = new AppleNotificationSender(false);
notificationRepository = new InMemoryNotificationRepository();
notificationService = new ETANotificationScheduler(
shuttleRepository,
notificationRepository,
appleNotificationSender
);
notificationService.startListeningForUpdates();
} else {
const repositoryDataUpdater = new TimedApiBasedShuttleRepositoryLoader(
shuttleRepository,
@@ -46,6 +48,7 @@ async function main() {
shuttleRepository,
notificationRepository
);
notificationService.startListeningForUpdates();
}
const { url } = await startStandaloneServer(server, {