chore: code formatting
This commit is contained in:
@@ -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},
|
||||
],
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user