mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-11 01:20:08 -04:00
More detailed logs
This commit is contained in:
parent
16ca23efe5
commit
9367c061e9
9 changed files with 60 additions and 40 deletions
|
@ -35,7 +35,7 @@ it('can create queue', () => {
|
|||
)
|
||||
})
|
||||
|
||||
it('can create errors log', () => {
|
||||
it('can log errors', () => {
|
||||
let output = content('tests/__data__/output/logs/errors/ca-nl/example.com.log')
|
||||
let expected = content('tests/__data__/expected/logs/errors/ca-nl/example.com.log')
|
||||
|
||||
|
|
|
@ -51,6 +51,11 @@ it('can log errors', () => {
|
|||
const expected2 = content('tests/__data__/expected/logs/errors/us/directv.com.log')
|
||||
|
||||
expect(output2).toBe(expected2)
|
||||
|
||||
const output3 = content('tests/__data__/output/logs/errors/ge/magticom.ge.log')
|
||||
const expected3 = content('tests/__data__/expected/logs/errors/ge/magticom.ge.log')
|
||||
|
||||
expect(output3).toBe(expected3)
|
||||
})
|
||||
|
||||
function content(filepath) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue