chore(deps): update faker to v7 (#957)

This commit is contained in:
Simon Lecoq
2022-06-25 03:52:30 +02:00
committed by GitHub
parent 3bcd3979a0
commit cd3d526301
19 changed files with 106 additions and 83 deletions

View File

@@ -21,7 +21,7 @@ export default function({faker, query, login = faker.internet.userName()}) {
reactions: {
nodes: new Array(50).fill(null).map(_ => ({
user: {login: faker.internet.userName()},
content: faker.random.arrayElement(["HEART", "THUMBS_UP", "THUMBS_DOWN", "LAUGH", "CONFUSED", "EYES", "ROCKET", "HOORAY"]),
content: faker.helpers.arrayElement(["HEART", "THUMBS_UP", "THUMBS_DOWN", "LAUGH", "CONFUSED", "EYES", "ROCKET", "HOORAY"]),
})),
},
},