diff --git a/tests/commands/playlist/update.test.ts b/tests/commands/playlist/update.test.ts index eb54d2198..3b438ac79 100644 --- a/tests/commands/playlist/update.test.ts +++ b/tests/commands/playlist/update.test.ts @@ -9,7 +9,7 @@ beforeEach(() => { it('can format playlists', () => { const stdout = execSync( - 'DEBUG=true DATA_DIR=tests/__data__/input/data STREAMS_DIR=tests/__data__/output/streams npm run playlist:update --silent', + 'DATA_DIR=tests/__data__/input/data STREAMS_DIR=tests/__data__/output/streams npm run playlist:update --silent', { encoding: 'utf8' } diff --git a/tests/commands/report/create.test.ts b/tests/commands/report/create.test.ts index 55199f81c..5a3eed758 100644 --- a/tests/commands/report/create.test.ts +++ b/tests/commands/report/create.test.ts @@ -10,14 +10,17 @@ it('can create report', () => { expect( stdout.includes(` -┌─────────┬─────────────┬───────────────────┬──────────────┐ -│ (index) │ issueNumber │ channelId │ status │ -├─────────┼─────────────┼───────────────────┼──────────────┤ -│ 0 │ 14179 │ 'ManoramaNews.in' │ 'pending' │ -│ 1 │ 14178 │ 'TV3.my' │ 'blocked' │ -│ 2 │ 14177 │ 'TUTV.us' │ 'fullfilled' │ -│ 3 │ 14176 │ 'ManoramaNews.in' │ 'duplicate' │ -│ 4 │ 14175 │ 'TFX.fr' │ 'invalid_id' │ -└─────────┴─────────────┴───────────────────┴──────────────┘`) +┌─────────┬─────────────┬─────────────────┬─────────────────────┬────────────────┐ +│ (index) │ issueNumber │ type │ channelId │ status │ +├─────────┼─────────────┼─────────────────┼─────────────────────┼────────────────┤ +│ 0 │ 14110 │ 'streams:edit' │ 'BBCAmericaEast.us' │ 'invalid_link' │ +│ 1 │ 14120 │ 'streams:edit' │ 'boo.us' │ 'invalid_id' │ +│ 2 │ 14140 │ 'broken stream' │ undefined │ 'invalid_link' │ +│ 3 │ 14175 │ 'streams:add' │ 'TFX.fr' │ 'invalid_id' │ +│ 4 │ 14176 │ 'streams:add' │ 'ManoramaNews.in' │ 'duplicate' │ +│ 5 │ 14177 │ 'streams:add' │ 'TUTV.us' │ 'fullfilled' │ +│ 6 │ 14178 │ 'streams:add' │ 'TV3.my' │ 'blocked' │ +│ 7 │ 14179 │ 'streams:add' │ 'ManoramaNews.in' │ 'pending' │ +└─────────┴─────────────┴─────────────────┴─────────────────────┴────────────────┘`) ).toBe(true) })