1
0

feat(reminders): add e2e tests for task reminders

This commit is contained in:
kolaente
2023-06-20 15:56:39 +02:00
parent 4eba9479b0
commit 1005182a50
4 changed files with 171 additions and 4 deletions

View File

@ -0,0 +1,18 @@
import {Factory} from '../support/factory'
export class TaskReminderFactory extends Factory {
static table = 'task_reminders'
static factory() {
const now = new Date()
return {
id: '{increment}',
task_id: 1,
reminder: now.toISOString(),
created: now.toISOString(),
relative_to: '',
relative_period: 0,
}
}
}