mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 17:10:07 -04:00
Update update-api.test.js
This commit is contained in:
parent
3bf8e54dae
commit
0555f80275
1 changed files with 5 additions and 5 deletions
|
@ -32,12 +32,12 @@ it('can generate channels.json', () => {
|
||||||
expect(output).toBe(expected)
|
expect(output).toBe(expected)
|
||||||
})
|
})
|
||||||
|
|
||||||
it('can generate programs.json', () => {
|
// it('can generate programs.json', () => {
|
||||||
const output = content('tests/__data__/output/api/programs.json')
|
// const output = content('tests/__data__/output/api/programs.json')
|
||||||
const expected = content('tests/__data__/expected/api/programs.json')
|
// const expected = content('tests/__data__/expected/api/programs.json')
|
||||||
|
|
||||||
expect(output).toBe(expected)
|
// expect(output).toBe(expected)
|
||||||
})
|
// })
|
||||||
|
|
||||||
function content(filepath) {
|
function content(filepath) {
|
||||||
const data = fs.readFileSync(path.resolve(filepath), {
|
const data = fs.readFileSync(path.resolve(filepath), {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue