From bbd20848b21a52a0fceedad7976b76cb67610836 Mon Sep 17 00:00:00 2001 From: freearhey <7253922+freearhey@users.noreply.github.com> Date: Fri, 17 Jan 2025 16:21:33 +0300 Subject: [PATCH] Update tvpassport.com.test.js --- sites/tvpassport.com/tvpassport.com.test.js | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/sites/tvpassport.com/tvpassport.com.test.js b/sites/tvpassport.com/tvpassport.com.test.js index df9a7d63..2bff8707 100644 --- a/sites/tvpassport.com/tvpassport.com.test.js +++ b/sites/tvpassport.com/tvpassport.com.test.js @@ -39,7 +39,7 @@ it('can parse response', () => { start: '2022-10-04T10:00:00.000Z', stop: '2022-10-04T10:30:00.000Z', title: 'Charlie Moore: No Offense', - sub_title: 'Under the Influencer', + subtitle: 'Under the Influencer', category: ['Sports', 'Outdoors'], image: 'https://cdn.tvpassport.com/image/show/960x540/69103.jpg', rating: { @@ -50,7 +50,23 @@ it('can parse response', () => { director: ['Rob McElhenney'], guest: ['Sean Penn'], description: - 'Celebrity interviews while fishing in various locations throughout the United States.' + 'Celebrity interviews while fishing in various locations throughout the United States.', + year: null + }) + + expect(results[1]).toMatchObject({ + start: '2022-10-04T10:30:00.000Z', + stop: '2022-10-04T11:00:00.000Z', + title: '1900', + year: null + }) + + expect(results[2]).toMatchObject({ + start: '2022-10-04T11:00:00.000Z', + stop: '2022-10-04T12:00:00.000Z', + title: 'The Mark of Zorro', + subtitle: null, + year: '1940' }) })