MCPcopy Index your code
hub / github.com/FlowiseAI/Flowise / ScheduleBeat.test.ts

File ScheduleBeat.test.ts

packages/server/src/schedule/ScheduleBeat.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * Unit tests for ScheduleBeat — schedule orchestrator.
3 * All external dependencies (node-cron, QueueManager, ScheduleExecutor,
4 * getRunningExpressApp, schedule service) are mocked.

Callers

nothing calls this directly

Calls 12

resetSingletonFunction · 0.85
setMethod · 0.80
onScheduleChangedMethod · 0.80
shutdownMethod · 0.80
_syncAllJobsMethod · 0.80
_upsertCronJobMethod · 0.80
_removeCronJobMethod · 0.80
_onCronFireMethod · 0.80
makeRecordFunction · 0.70
initMethod · 0.65
getInstanceMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected