mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -04:00
Update update.test.js
This commit is contained in:
parent
6280e93bbe
commit
0afc0a864a
1 changed files with 8 additions and 0 deletions
|
@ -28,6 +28,14 @@ it('can generate /guides', () => {
|
||||||
compressed.forEach(filepath => {
|
compressed.forEach(filepath => {
|
||||||
expect(content(`output/${filepath}`), filepath).toBe(content(`expected/${filepath}`))
|
expect(content(`output/${filepath}`), filepath).toBe(content(`expected/${filepath}`))
|
||||||
})
|
})
|
||||||
|
|
||||||
|
const json = glob
|
||||||
|
.sync('tests/__data__/expected/guides/**/*.json')
|
||||||
|
.map(f => f.replace('tests/__data__/expected/', ''))
|
||||||
|
|
||||||
|
json.forEach(filepath => {
|
||||||
|
expect(content(`output/${filepath}`), filepath).toBe(content(`expected/${filepath}`))
|
||||||
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
it('will terminate process if programs not found', () => {
|
it('will terminate process if programs not found', () => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue