Update tests/__data__
This commit is contained in:
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 []
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user