mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 09:00:07 -04:00
Update update-guides.test.js
This commit is contained in:
parent
34eef8f525
commit
b45d914727
4 changed files with 14 additions and 7 deletions
|
@ -41,11 +41,16 @@ it('can create guides.log', () => {
|
|||
expect(output).toBe(expected)
|
||||
})
|
||||
|
||||
it('can create errors.log', () => {
|
||||
const output = content('tests/__data__/output/logs/errors.log')
|
||||
const expected = content('tests/__data__/expected/logs/errors.log')
|
||||
it('can log errors', () => {
|
||||
const output1 = content('tests/__data__/output/logs/errors/ru/yandex.ru.log')
|
||||
const expected1 = content('tests/__data__/expected/logs/errors/ru/yandex.ru.log')
|
||||
|
||||
expect(output).toBe(expected)
|
||||
expect(output1).toBe(expected1)
|
||||
|
||||
const output2 = content('tests/__data__/output/logs/errors/us/directv.com.log')
|
||||
const expected2 = content('tests/__data__/expected/logs/errors/us/directv.com.log')
|
||||
|
||||
expect(output2).toBe(expected2)
|
||||
})
|
||||
|
||||
function content(filepath) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue