🧪 [testing improvement] Add error handling tests for calculateNextRun
calculateNextRun (specifically when it fails to parse a cron expression) has been addressed.
task-scheduler.test.ts now covers the happy paths (cron, interval, once), unknown schedule types, and the invalid cron expression error case. Additionally, tests for validateCronExpression were added.
src/task-scheduler.ts is significantly improved, catching real regressions if error logging or null-returns break during future refactors.
PR created automatically by Jules for task 4419503267138658083 started by @LGZhss