Update index.test.js
This commit is contained in:
parent
b9cb1abcec
commit
9332dcc592
|
@ -58,14 +58,7 @@ it('can grab single channel programs', done => {
|
|||
grabber
|
||||
.grab(channel, '2022-01-01', (data, err) => {
|
||||
if (err) {
|
||||
console.log(` Error: ${err.message}`)
|
||||
done()
|
||||
} else {
|
||||
console.log(
|
||||
` ${data.channel.site} - ${data.channel.xmltv_id} - ${data.date.format(
|
||||
'MMM D, YYYY'
|
||||
)} (${data.programs.length} programs)`
|
||||
)
|
||||
}
|
||||
})
|
||||
.then(programs => {
|
||||
|
|
Loading…
Reference in New Issue