From 464c2c81cd93ee6913595ce66ed422fa162221b3 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Wed, 4 Jan 2023 04:43:02 +0300 Subject: [PATCH] Update xmltv.test.js --- tests/xmltv.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/xmltv.test.js b/tests/xmltv.test.js index 9be7711..f865606 100644 --- a/tests/xmltv.test.js +++ b/tests/xmltv.test.js @@ -36,7 +36,7 @@ it('can generate xmltv', () => { icon: 'https://example.com/images/Program1.png?x=шеллы&sid=777', rating: { system: 'MPAA', - value: 'PG', + value: 'P&G', icon: 'http://example.com/pg_symbol.png' }, director: [ @@ -74,6 +74,6 @@ it('can generate xmltv', () => { const output = xmltv.generate({ channels, programs }) expect(output).toBe( - '\r\n1 TVhttps://example.com\r\n2 TVhttps://example.com\r\nProgram 1Sub-title & 1Description for Program 1Director 1http://example.com/director1.htmlhttps://example.com/image1.jpghttps://example.com/image2.jpgDirector 2Actor 1Actor 2Writer 120220506Testhttp://example.com/title.html8.238.0/1S09E239PG\r\nProgram 2\r\n' + '\r\n1 TVhttps://example.com\r\n2 TVhttps://example.com\r\nProgram 1Sub-title & 1Description for Program 1Director 1http://example.com/director1.htmlhttps://example.com/image1.jpghttps://example.com/image2.jpgDirector 2Actor 1Actor 2Writer 120220506Testhttp://example.com/title.html8.238.0/1S09E239P&G\r\nProgram 2\r\n' ) })