Add option to ignores users in reactions plugin (#256)

This commit is contained in:
Simon Lecoq
2021-04-24 21:46:27 +02:00
committed by GitHub
parent e25c486a52
commit 836afd3bfd
5 changed files with 20 additions and 4 deletions

View File

@@ -17,7 +17,10 @@
node:{
createdAt:faker.date.recent(),
reactions:{
nodes:new Array(50).fill(null).map(_ => ({content:faker.random.arrayElement(["HEART", "THUMBS_UP", "THUMBS_DOWN", "LAUGH", "CONFUSED", "EYES", "ROCKET", "HOORAY"])})),
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"]),
})),
},
},
})),