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

@@ -12,11 +12,11 @@ export default function({faker, query, login = faker.internet.userName()}) {
: ({
repository: {
stargazers: {
edges: new Array(faker.datatype.number({min: 50, max: 100})).fill(null).map(() => ({
starredAt: `${faker.date.recent(30)}`,
edges: new Array(faker.number.int({min: 50, max: 100})).fill(null).map(() => ({
starredAt: `${faker.date.recent({days:30})}`,
cursor: "MOCKED_CURSOR",
node: {
location: faker.address.city(),
location: faker.location.city(),
},
})),
},