mirror of
https://github.com/iptv-org/epg
synced 2025-12-17 10:56:57 -05:00
Update update-api.test.js
This commit is contained in:
@@ -32,12 +32,12 @@ it('can generate channels.json', () => {
|
||||
expect(output).toBe(expected)
|
||||
})
|
||||
|
||||
it('can generate programs.json', () => {
|
||||
const output = content('tests/__data__/output/api/programs.json')
|
||||
const expected = content('tests/__data__/expected/api/programs.json')
|
||||
// it('can generate programs.json', () => {
|
||||
// const output = content('tests/__data__/output/api/programs.json')
|
||||
// const expected = content('tests/__data__/expected/api/programs.json')
|
||||
|
||||
expect(output).toBe(expected)
|
||||
})
|
||||
// expect(output).toBe(expected)
|
||||
// })
|
||||
|
||||
function content(filepath) {
|
||||
const data = fs.readFileSync(path.resolve(filepath), {
|
||||
|
||||
Reference in New Issue
Block a user