+ >
+ );
+}
diff --git a/apps/webapp/app/services/schedules/nextScheduledEvent.server.ts b/apps/webapp/app/services/schedules/nextScheduledEvent.server.ts
index e41466039..c71d274f5 100644
--- a/apps/webapp/app/services/schedules/nextScheduledEvent.server.ts
+++ b/apps/webapp/app/services/schedules/nextScheduledEvent.server.ts
@@ -81,7 +81,7 @@ export class NextScheduledEventService {
// this should always return a date in the future
// if calculateNextStep returns a date in the past, call it again with the result as the previousTimestamp
-function calculateNextScheduledEvent(
+export function calculateNextScheduledEvent(
schedule: ScheduleMetadata,
previousTimestamp?: Date | null
): Date {