From 884456b00bc36e63ed46429caddb4a90312d3cc3 Mon Sep 17 00:00:00 2001 From: freearhey <7253922+freearhey@users.noreply.github.com> Date: Fri, 20 Dec 2024 05:46:33 +0300 Subject: [PATCH] Update tests --- tests/__data__/expected/streams_update/in.m3u | 3 --- tests/__data__/input/issues/streams_add_approved.js | 2 +- tests/commands/playlist/update.test.ts | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) delete mode 100644 tests/__data__/expected/streams_update/in.m3u diff --git a/tests/__data__/expected/streams_update/in.m3u b/tests/__data__/expected/streams_update/in.m3u deleted file mode 100644 index 540ed478a..000000000 --- a/tests/__data__/expected/streams_update/in.m3u +++ /dev/null @@ -1,3 +0,0 @@ -#EXTM3U -#EXTINF:-1 tvg-id="ManoramaNews.in" tvg-shift="-4",Manorama News [Not 24/7] -https://ythls.onrender.com/channel/UCP0uG-mcMImgKnJz-VjJZmQ.m3u8 diff --git a/tests/__data__/input/issues/streams_add_approved.js b/tests/__data__/input/issues/streams_add_approved.js index 65bc78853..acfd23ad4 100644 --- a/tests/__data__/input/issues/streams_add_approved.js +++ b/tests/__data__/input/issues/streams_add_approved.js @@ -70,7 +70,7 @@ module.exports = [ closed_at: null, author_association: 'COLLABORATOR', active_lock_reason: null, - body: '### Channel ID\n\nManoramaNews.in\n\n### Stream URL\n\nhttps://ythls.onrender.com/channel/UCP0uG-mcMImgKnJz-VjJZmQ.m3u8\n\n### Label\n\nNot 24/7\n\n### Timeshift\n\n-4\n\n### Notes (optional)\n\nSource: https://github.com/iptv-org/iptv/issues/14007#issuecomment-1686942043\n\n### Contributing Guide\n\n- [X] I have read [Contributing Guide](https://github.com/iptv-org/iptv/blob/master/CONTRIBUTING.md)', + body: '### Channel ID\n\nManoramaNews.in\n\n### Stream URL\n\n(https://mitelefe.com/Api/Videos/GetSourceUrl/694564/0/HLS / https://ssl.cloud.telefe.com/Api/Videos/GetSourceUrl/694564/0/HLS)\n\n### Label\n\nNot 24/7\n\n### Timeshift\n\n-4\n\n### Notes (optional)\n\nSource: https://github.com/iptv-org/iptv/issues/14007#issuecomment-1686942043\n\n### Contributing Guide\n\n- [X] I have read [Contributing Guide](https://github.com/iptv-org/iptv/blob/master/CONTRIBUTING.md)', reactions: { url: 'https://api.github.com/repos/iptv-org/iptv/issues/14179/reactions', total_count: 0, diff --git a/tests/commands/playlist/update.test.ts b/tests/commands/playlist/update.test.ts index d9c637db0..d607e7458 100644 --- a/tests/commands/playlist/update.test.ts +++ b/tests/commands/playlist/update.test.ts @@ -26,7 +26,7 @@ it('can format playlists', () => { }) expect(stdout).toBe( - 'OUTPUT=closes #14151, closes #14140, closes #14139, closes #14110, closes #14179, closes #14178\n' + 'OUTPUT=closes #14151, closes #14140, closes #14139, closes #14110, closes #14178\n' ) })