()
| 12 | import { WorkspaceScheduleControls } from "./WorkspaceScheduleControls"; |
| 13 | |
| 14 | const Wrapper: FC = () => { |
| 15 | const { data: workspace } = useQuery( |
| 16 | workspaceByOwnerAndName(MockWorkspace.owner_name, MockWorkspace.name), |
| 17 | ); |
| 18 | |
| 19 | if (!workspace) { |
| 20 | return null; |
| 21 | } |
| 22 | |
| 23 | return ( |
| 24 | <WorkspaceScheduleControls |
| 25 | workspace={workspace} |
| 26 | template={MockTemplate} |
| 27 | canUpdateSchedule |
| 28 | /> |
| 29 | ); |
| 30 | }; |
| 31 | |
| 32 | const BASE_DEADLINE = dayjs().add(3, "hour"); |
| 33 |
nothing calls this directly
no test coverage detected