chore: rename js files to ts
This commit is contained in:

committed by
Gitea

parent
7fe9f17e43
commit
321850ec20
17
cypress/factories/task_assignee.ts
Normal file
17
cypress/factories/task_assignee.ts
Normal file
@ -0,0 +1,17 @@
|
||||
import {Factory} from '../support/factory'
|
||||
import {formatISO} from 'date-fns'
|
||||
|
||||
export class TaskAssigneeFactory extends Factory {
|
||||
static table = 'task_assignees'
|
||||
|
||||
static factory() {
|
||||
const now = new Date()
|
||||
|
||||
return {
|
||||
id: '{increment}',
|
||||
task_id: 1,
|
||||
user_id: 1,
|
||||
created: formatISO(now),
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user