(
overrides: Partial<TaskModalActionStateInput> = {}
)
| 33 | } |
| 34 | |
| 35 | function createStateInput( |
| 36 | overrides: Partial<TaskModalActionStateInput> = {} |
| 37 | ): TaskModalActionStateInput { |
| 38 | return { |
| 39 | title: "Action state task", |
| 40 | status: "open", |
| 41 | priority: "normal", |
| 42 | dueDate: "", |
| 43 | scheduledDate: "", |
| 44 | recurrenceRule: "", |
| 45 | recurrenceAnchor: "scheduled", |
| 46 | reminders: [], |
| 47 | ...overrides, |
| 48 | }; |
| 49 | } |
| 50 | |
| 51 | function createHarness(overrides: Partial<TaskModalActionStateInput> = {}): { |
| 52 | context: ReturnType<typeof createTaskModalActionMenuContext>; |
no outgoing calls
no test coverage detected