chore: update faker functions

This commit is contained in:
Simon Lecoq
2023-07-24 20:30:19 -04:00
parent fca0e34e9d
commit 0fad2fb0cb
53 changed files with 622 additions and 622 deletions

View File

@@ -3,11 +3,11 @@ export default function({faker, query, login = faker.internet.userName()}) {
console.debug("metrics/compute/mocks > mocking graphql api result > base/user")
return ({
user: {
databaseId: faker.datatype.number(10000000),
name: faker.name.fullName(),
databaseId: faker.number.int(10000000),
name: faker.person.fullName(),
login,
createdAt: `${faker.date.past(10)}`,
avatarUrl: faker.image.people(),
createdAt: `${faker.date.past({years:10})}`,
avatarUrl: faker.image.urlLoremFlickr({ category: 'people' }),
websiteUrl: faker.internet.url(),
twitterUsername: login,
},