We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44819e1 commit 6449c41Copy full SHA for 6449c41
source/app/mocks/index.mjs
@@ -128,19 +128,19 @@
128
const unmocked = {rss}
129
130
//Mock rss feed
131
- rss.prototype.parseURL = function (url) {
+ rss.prototype.parseURL = function(url) {
132
console.debug(`metrics/compute/mocks > mocking rss feed result > ${url}`)
133
return ({
134
items:new Array(30).fill(null).map(_ => ({
135
title:faker.lorem.sentence(),
136
link:faker.internet.url(),
137
content:faker.lorem.paragraphs(),
138
contentSnippet:faker.lorem.paragraph(),
139
- isoDate:faker.date.recent()
+ isoDate:faker.date.recent(),
140
})),
141
title:faker.lorem.words(),
142
description:faker.lorem.paragraph(),
143
- link:url
+ link:url,
144
})
145
}
146
0 commit comments