Update tests/__data__

This commit is contained in:
freearhey
2025-04-02 07:08:57 +03:00
parent 0e4521a504
commit 510d89c8c8
54 changed files with 2630 additions and 2601 deletions

View File

@@ -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 []
}
}