mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -04:00
Minor changes to the tests
This commit is contained in:
parent
e1ffd61618
commit
3c858ecca9
6 changed files with 24 additions and 21 deletions
|
@ -17,7 +17,7 @@ describe('api:generate', () => {
|
|||
it('can generate guides.json', () => {
|
||||
const cmd = `${ENV_VAR} npm run api:generate`
|
||||
const stdout = execSync(cmd, { encoding: 'utf8' })
|
||||
if (process.env.DEBUG === 'true') console.log(stdout)
|
||||
if (process.env.DEBUG === 'true') console.log(cmd, stdout)
|
||||
|
||||
expect(content('tests/__data__/output/guides.json')).toEqual(
|
||||
content('tests/__data__/expected/guides.json')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue