Update utils.test.js

This commit is contained in:
Aleksandr Statciuk 2022-01-10 13:50:06 +03:00
parent bb52ea008a
commit b063dec426
1 changed files with 6 additions and 6 deletions

View File

@ -56,8 +56,8 @@ it('can convert object to xmltv string', () => {
{
title: 'Program 1',
description: 'Description for Program 1',
start: '2021-03-19 06:00:00 +0000',
stop: '2021-03-19 06:30:00 +0000',
start: 1616133600,
stop: 1616135400,
category: 'Test',
icon: 'https://example.com/images/Program1.png?x=шеллы&sid=777',
channel: '1TV.com',
@ -84,8 +84,8 @@ it('can convert object to xmltv string without categories', () => {
const programs = [
{
title: 'Program 1',
start: '2021-03-19 06:00:00 +0000',
stop: '2021-03-19 06:30:00 +0000',
start: 1616133600,
stop: 1616135400,
channel: '1TV.com',
lang: 'it'
}
@ -104,8 +104,8 @@ it('can convert object to xmltv string with multiple categories', () => {
{
title: 'Program 1',
description: 'Description for Program 1',
start: '2021-03-19 06:00:00 +0000',
stop: '2021-03-19 06:30:00 +0000',
start: 1616133600,
stop: 1616135400,
category: ['Test1', 'Test2'],
icon: 'https://example.com/images/Program1.png?x=шеллы&sid=777',
channel: '1TV.com',