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,7 +3,7 @@ export default function({faker, query, login = faker.internet.userName()}) {
console.debug("metrics/compute/mocks > mocking graphql api result > sponsorships/default")
return ({
user: {
totalSponsorshipAmountAsSponsorInCents: faker.datatype.number(100000),
totalSponsorshipAmountAsSponsorInCents: faker.number.int(100000),
sponsorshipsAsSponsor: {
nodes: [{createdAt: `${faker.date.recent()}`}],
},