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

@@ -14,7 +14,7 @@ export default function({faker, query, login = faker.internet.userName()}) {
user: {
repositoryDiscussionsComments: {
edges: new Array(100).fill(null).map(_ => ({cursor: "MOCKED_CURSOR"})),
nodes: new Array(100).fill(null).map(_ => ({upvoteCount: faker.datatype.number(10)})),
nodes: new Array(100).fill(null).map(_ => ({upvoteCount: faker.number.int(10)})),
},
},
})