From a9164116357115b7d70dd2bf3196ff0bcd6da325 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Sun, 28 May 2023 21:41:40 +0300 Subject: [PATCH] Update meo.pt.test.js --- sites/meo.pt/meo.pt.test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sites/meo.pt/meo.pt.test.js b/sites/meo.pt/meo.pt.test.js index 7371fcc6..e80f27ac 100644 --- a/sites/meo.pt/meo.pt.test.js +++ b/sites/meo.pt/meo.pt.test.js @@ -44,14 +44,14 @@ it('can generate valid request method', () => { it('can parse response', () => { const content = fs.readFileSync(path.resolve(__dirname, '__data__/content.json')) let results = parser({ content }).map(p => { - p.start = p.start.toISO() - p.stop = p.stop.toISO() + p.start = p.start.toJSON() + p.stop = p.stop.toJSON() return p }) expect(results[0]).toMatchObject({ - start: '2022-12-01T23:35:00.000+00:00', - stop: '2022-12-02T00:17:00.000+00:00', + start: '2022-12-01T23:35:00.000Z', + stop: '2022-12-02T00:17:00.000Z', title: 'Walker, O Ranger Do Texas T6 - Ep. 14' }) })