chore: code formatting

This commit is contained in:
github-actions[bot]
2022-04-23 23:18:43 +00:00
parent 73cd43c18f
commit 4c98629bbc
130 changed files with 1839 additions and 1788 deletions

View File

@@ -1,5 +1,5 @@
/**Mocked data */
export default function({ faker, query, login = faker.internet.userName() }) {
export default function({faker, query, login = faker.internet.userName()}) {
console.debug("metrics/compute/mocks > mocking graphql api result > reactions/default")
const type = query.match(/(?<type>issues|issueComments)[(]/)?.groups?.type ?? "(unknown type)"
return /after: "MOCKED_CURSOR"/m.test(query)
@@ -20,7 +20,7 @@ export default function({ faker, query, login = faker.internet.userName() }) {
createdAt: faker.date.recent(),
reactions: {
nodes: new Array(50).fill(null).map(_ => ({
user: { login: faker.internet.userName() },
user: {login: faker.internet.userName()},
content: faker.random.arrayElement(["HEART", "THUMBS_UP", "THUMBS_DOWN", "LAUGH", "CONFUSED", "EYES", "ROCKET", "HOORAY"]),
})),
},