Update index.test.js

This commit is contained in:
Aleksandr Statciuk 2022-05-09 16:16:34 +03:00
parent b9cb1abcec
commit 9332dcc592
1 changed files with 0 additions and 7 deletions

View File

@ -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 => {