mirror of
https://github.com/iptv-org/epg
synced 2025-12-17 02:47:02 -05:00
Update mts.rs.test.js
This commit is contained in:
@@ -31,7 +31,11 @@ it('can get logo url', () => {
|
||||
})
|
||||
|
||||
it('can parse response', () => {
|
||||
const result = parser({ date, channel, content })
|
||||
const result = parser({ date, channel, content }).map(p => {
|
||||
p.start = p.start.toJSON()
|
||||
p.stop = p.stop.toJSON()
|
||||
return p
|
||||
})
|
||||
expect(result).toMatchObject([
|
||||
{
|
||||
start: '2021-11-06T22:44:00.000Z',
|
||||
|
||||
Reference in New Issue
Block a user