Update create.test.ts

This commit is contained in:
freearhey
2024-12-19 07:47:40 +03:00
parent 4d0563177c
commit f2e5b9c51c

View File

@@ -11,16 +11,16 @@ it('can create report', () => {
expect( expect(
stdout.includes(` stdout.includes(`
┌─────────┬─────────────┬─────────────────┬─────────────────────┬────────────────┐ ┌─────────┬─────────────┬─────────────────┬─────────────────────┬────────────────┐
│ (index) │ issueNumber │ type channelId status │ │ (index) │ issueNumber │ type channelId status
├─────────┼─────────────┼─────────────────┼─────────────────────┼────────────────┤ ├─────────┼─────────────┼─────────────────┼─────────────────────┼────────────────┤
0 14110 │ 'streams:edit' │ 'BBCAmericaEast.us' │ 'invalid_link' │ │ 0 14110 │ 'streams:edit' │ 'BBCAmericaEast.us' │ 'invalid_link' │
1 14120 │ 'streams:edit' │ 'boo.us' 'invalid_id' │ │ 1 14120 │ 'streams:edit' │ 'boo.us' 'invalid_id'
2 14140 │ 'broken stream' │ undefined │ 'invalid_link' │ │ 2 14140 │ 'broken stream' │ undefined │ 'invalid_link' │
3 14175 │ 'streams:add' │ 'TFX.fr' │ 'invalid_id' │ │ 3 14175 │ 'streams:add' │ 'TFX.fr' │ 'invalid_id'
4 14176 'streams:add' │ 'ManoramaNews.in' │ 'duplicate' │ 4 │ 14176 'streams:add' │ 'ManoramaNews.in' │ 'duplicate'
5 14177 │ 'streams:add' │ 'TUTV.us' │ 'fullfilled' │ │ 5 14177 │ 'streams:add' │ 'TUTV.us' │ 'fullfilled'
6 14178 │ 'streams:add' │ 'TV3.my' 'blocked' │ │ 6 14178 │ 'streams:add' │ 'TV3.my' 'blocked'
7 14179 'streams:add' │ 'ManoramaNews.in' │ 'pending' │ │ 7 14179 'streams:add' │ 'ManoramaNews.in' │ 'pending'
└─────────┴─────────────┴─────────────────┴─────────────────────┴────────────────┘`) └─────────┴─────────────┴─────────────────┴─────────────────────┴────────────────┘`)
).toBe(true) ).toBe(true)
}) })