Apply linter

This commit is contained in:
lowlighter
2021-03-21 14:36:03 +01:00
parent 44819e1824
commit 6449c41ddd

View File

@@ -128,7 +128,7 @@
const unmocked = {rss} const unmocked = {rss}
//Mock rss feed //Mock rss feed
rss.prototype.parseURL = function (url) { rss.prototype.parseURL = function(url) {
console.debug(`metrics/compute/mocks > mocking rss feed result > ${url}`) console.debug(`metrics/compute/mocks > mocking rss feed result > ${url}`)
return ({ return ({
items:new Array(30).fill(null).map(_ => ({ items:new Array(30).fill(null).map(_ => ({
@@ -136,11 +136,11 @@
link:faker.internet.url(), link:faker.internet.url(),
content:faker.lorem.paragraphs(), content:faker.lorem.paragraphs(),
contentSnippet:faker.lorem.paragraph(), contentSnippet:faker.lorem.paragraph(),
isoDate:faker.date.recent() isoDate:faker.date.recent(),
})), })),
title:faker.lorem.words(), title:faker.lorem.words(),
description:faker.lorem.paragraph(), description:faker.lorem.paragraph(),
link:url link:url,
}) })
} }
} }