Create channels/parse.test.js
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<site site="parse-channels.com">
|
||||
<channels>
|
||||
<channel lang="en" xmltv_id="CNNInternational.us" site_id="140">CNN International</channel>
|
||||
</channels>
|
||||
</site>
|
||||
19
tests/__data__/input/sites/parse-channels.config.js
Normal file
19
tests/__data__/input/sites/parse-channels.config.js
Normal file
@@ -0,0 +1,19 @@
|
||||
module.exports = {
|
||||
site: 'parse-channels.com',
|
||||
url() {
|
||||
return `https://parse-channels.com`
|
||||
},
|
||||
parser() {
|
||||
return []
|
||||
},
|
||||
channels() {
|
||||
return [
|
||||
{
|
||||
lang: 'en',
|
||||
xmltv_id: 'CNNInternational.us',
|
||||
site_id: 140,
|
||||
name: 'CNN International'
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user