|
| 1 | +// Jest Snapshot v1, https://goo.gl/fbAQLP |
| 2 | + |
| 3 | +exports[`getReminderEmailDetails matches snapshot for company recipient 1`] = ` |
| 4 | +{ |
| 5 | + "DUE_DATE_BEFORE_3D": { |
| 6 | + "body": "This is a friendly reminder that you have a task ‘Submit timesheet’ due in 3 days. |
| 7 | +
|
| 8 | +Please make sure to complete this task by the due date.", |
| 9 | + "ctaParams": { |
| 10 | + "taskId": "task_1", |
| 11 | + }, |
| 12 | + "header": "A task was assigned to your company", |
| 13 | + "subject": "[Due Soon] Task due in 3 days", |
| 14 | + "title": "View task", |
| 15 | + }, |
| 16 | + "DUE_DATE_OVERDUE_3D": { |
| 17 | + "body": "This is a friendly reminder that the task ‘Submit timesheet’ is now overdue. It was due 3 days ago and is still pending completion.", |
| 18 | + "ctaParams": { |
| 19 | + "taskId": "task_1", |
| 20 | + }, |
| 21 | + "header": "A task was assigned to your company", |
| 22 | + "subject": "[Overdue] Task was due 3 days ago", |
| 23 | + "title": "View task", |
| 24 | + }, |
| 25 | + "DUE_DATE_OVERDUE_7D": { |
| 26 | + "body": "This is a friendly reminder that the task ‘Submit timesheet’ is now one week overdue. |
| 27 | +
|
| 28 | +Please complete this task as soon as possible.", |
| 29 | + "ctaParams": { |
| 30 | + "taskId": "task_1", |
| 31 | + }, |
| 32 | + "header": "A task was assigned to your company", |
| 33 | + "subject": "[Overdue] Task overdue by one week", |
| 34 | + "title": "View task", |
| 35 | + }, |
| 36 | + "DUE_DATE_TODAY": { |
| 37 | + "body": "This is a friendly reminder that you have a task ‘Submit timesheet’ due today. |
| 38 | +
|
| 39 | +Please complete this task as soon as possible.", |
| 40 | + "ctaParams": { |
| 41 | + "taskId": "task_1", |
| 42 | + }, |
| 43 | + "header": "A task was assigned to your company", |
| 44 | + "subject": "[Due Soon] Task due today", |
| 45 | + "title": "View task", |
| 46 | + }, |
| 47 | + "NO_DUE_DATE_3D": { |
| 48 | + "body": "This is a friendly reminder that you have a task ‘Submit timesheet’ assigned to you that's still pending completion. |
| 49 | +
|
| 50 | +If you've already completed this task, please mark it as done in the portal.", |
| 51 | + "ctaParams": { |
| 52 | + "taskId": "task_1", |
| 53 | + }, |
| 54 | + "header": "A task was assigned to your company", |
| 55 | + "subject": "[Reminder] You have a task to complete", |
| 56 | + "title": "View task", |
| 57 | + }, |
| 58 | + "NO_DUE_DATE_7D": { |
| 59 | + "body": "This is a friendly reminder that you have a task ‘Submit timesheet’ that was assigned to you a week ago and is still pending. |
| 60 | +
|
| 61 | +If you've already completed this task, please mark it as done in the portal.", |
| 62 | + "ctaParams": { |
| 63 | + "taskId": "task_1", |
| 64 | + }, |
| 65 | + "header": "A task was assigned to your company", |
| 66 | + "subject": "[Reminder] Task still pending", |
| 67 | + "title": "View task", |
| 68 | + }, |
| 69 | +} |
| 70 | +`; |
| 71 | + |
| 72 | +exports[`getReminderEmailDetails matches snapshot for individual recipient 1`] = ` |
| 73 | +{ |
| 74 | + "DUE_DATE_BEFORE_3D": { |
| 75 | + "body": "This is a friendly reminder that you have a task ‘Submit timesheet’ due in 3 days. |
| 76 | +
|
| 77 | +Please make sure to complete this task by the due date.", |
| 78 | + "ctaParams": { |
| 79 | + "taskId": "task_1", |
| 80 | + }, |
| 81 | + "header": "A task was assigned to you", |
| 82 | + "subject": "[Due Soon] Task due in 3 days", |
| 83 | + "title": "View task", |
| 84 | + }, |
| 85 | + "DUE_DATE_OVERDUE_3D": { |
| 86 | + "body": "This is a friendly reminder that the task ‘Submit timesheet’ is now overdue. It was due 3 days ago and is still pending completion.", |
| 87 | + "ctaParams": { |
| 88 | + "taskId": "task_1", |
| 89 | + }, |
| 90 | + "header": "A task was assigned to you", |
| 91 | + "subject": "[Overdue] Task was due 3 days ago", |
| 92 | + "title": "View task", |
| 93 | + }, |
| 94 | + "DUE_DATE_OVERDUE_7D": { |
| 95 | + "body": "This is a friendly reminder that the task ‘Submit timesheet’ is now one week overdue. |
| 96 | +
|
| 97 | +Please complete this task as soon as possible.", |
| 98 | + "ctaParams": { |
| 99 | + "taskId": "task_1", |
| 100 | + }, |
| 101 | + "header": "A task was assigned to you", |
| 102 | + "subject": "[Overdue] Task overdue by one week", |
| 103 | + "title": "View task", |
| 104 | + }, |
| 105 | + "DUE_DATE_TODAY": { |
| 106 | + "body": "This is a friendly reminder that you have a task ‘Submit timesheet’ due today. |
| 107 | +
|
| 108 | +Please complete this task as soon as possible.", |
| 109 | + "ctaParams": { |
| 110 | + "taskId": "task_1", |
| 111 | + }, |
| 112 | + "header": "A task was assigned to you", |
| 113 | + "subject": "[Due Soon] Task due today", |
| 114 | + "title": "View task", |
| 115 | + }, |
| 116 | + "NO_DUE_DATE_3D": { |
| 117 | + "body": "This is a friendly reminder that you have a task ‘Submit timesheet’ assigned to you that's still pending completion. |
| 118 | +
|
| 119 | +If you've already completed this task, please mark it as done in the portal.", |
| 120 | + "ctaParams": { |
| 121 | + "taskId": "task_1", |
| 122 | + }, |
| 123 | + "header": "A task was assigned to you", |
| 124 | + "subject": "[Reminder] You have a task to complete", |
| 125 | + "title": "View task", |
| 126 | + }, |
| 127 | + "NO_DUE_DATE_7D": { |
| 128 | + "body": "This is a friendly reminder that you have a task ‘Submit timesheet’ that was assigned to you a week ago and is still pending. |
| 129 | +
|
| 130 | +If you've already completed this task, please mark it as done in the portal.", |
| 131 | + "ctaParams": { |
| 132 | + "taskId": "task_1", |
| 133 | + }, |
| 134 | + "header": "A task was assigned to you", |
| 135 | + "subject": "[Reminder] Task still pending", |
| 136 | + "title": "View task", |
| 137 | + }, |
| 138 | +} |
| 139 | +`; |
0 commit comments