Update tests/__data__

This commit is contained in:
freearhey committed 2025-01-12 21:33:17 +03:00
1 parent 71d777e235
commit 89bc036b01
3 files changed
+79

No files matched your search

@@ -0,0 +1,16 @@
module.exports = {
site: 'example.com',
url({ channel, date }) {
return `https://example.com/api/${channel.site_id}/${date.format('YYYY-MM-DD')}`
},
parser({ content }) {
try {
return JSON.parse(content)
} catch {
return []
}
},
channels() {
return []
}
}