1
0

chore: rename js files to ts

This commit is contained in:
Dominik Pschenitschni
2022-04-11 22:37:56 +02:00
committed by Gitea
parent 7fe9f17e43
commit 321850ec20
36 changed files with 0 additions and 0 deletions

20
cypress/factories/list.ts Normal file
View File

@ -0,0 +1,20 @@
import {Factory} from '../support/factory'
import {formatISO} from "date-fns"
import {faker} from '@faker-js/faker'
export class ListFactory extends Factory {
static table = 'lists'
static factory() {
const now = new Date()
return {
id: '{increment}',
title: faker.lorem.words(3),
owner_id: 1,
namespace_id: 1,
created: formatISO(now),
updated: formatISO(now)
}
}
}