vikunja-frontend/cypress/factories/team_member.ts
2022-07-04 21:50:48 +00:00

15 lines
No EOL
338 B
TypeScript

import {Factory} from '../support/factory'
import {formatISO} from 'date-fns'
export class TeamMemberFactory extends Factory {
static table = 'team_members'
static factory() {
return {
team_id: 1,
user_id: 1,
admin: false,
created: formatISO(new Date()),
}
}
}