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 async function({ faker }, target, that, [{ owner, repo }]) {
export default async function({faker}, target, that, [{owner, repo}]) {
console.debug("metrics/compute/mocks > mocking rest api result > rest.repos.getViews")
const count = faker.datatype.number(10000) * 2
const uniques = faker.datatype.number(count) * 2
@@ -15,8 +15,8 @@ export default async function({ faker }, target, that, [{ owner, repo }]) {
count,
uniques,
views: [
{ timestamp: `${faker.date.recent()}`, count: count / 2, uniques: uniques / 2 },
{ timestamp: `${faker.date.recent()}`, count: count / 2, uniques: uniques / 2 },
{timestamp: `${faker.date.recent()}`, count: count / 2, uniques: uniques / 2},
{timestamp: `${faker.date.recent()}`, count: count / 2, uniques: uniques / 2},
],
},
})