import { TaskScheduling } from './task_scheduling' ; const createTaskSchedulingMock = ( ) => { return { ensureScheduled : jest . fn ( ) , schedule : jest . fn ( ) , runNow : jest . fn ( ) , ephemeralRunNow : jest . fn ( ) , } as unknown as jest . Mocked < TaskScheduling > ; } ; export const taskSchedulingMock = { create : createTaskSchedulingMock , } ;