mirror of
https://github.com/iptv-org/epg
synced 2025-12-20 12:26:58 -05:00
Update edit.test.ts
This commit is contained in:
@@ -28,6 +28,9 @@ describe('channels:edit', () => {
|
|||||||
const stdout = execSync(cmd, { encoding: 'utf8' })
|
const stdout = execSync(cmd, { encoding: 'utf8' })
|
||||||
if (process.env.DEBUG === 'true') console.log(cmd, stdout)
|
if (process.env.DEBUG === 'true') console.log(cmd, stdout)
|
||||||
checkStdout(stdout)
|
checkStdout(stdout)
|
||||||
|
expect(content('tests/__data__/output/channels.xml')).toEqual(
|
||||||
|
content('tests/__data__/expected/sites/channels-edit/example.com.channels.xml')
|
||||||
|
)
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
// NOTE: for Windows only
|
// NOTE: for Windows only
|
||||||
if (process.env.DEBUG === 'true') console.log(cmd, error)
|
if (process.env.DEBUG === 'true') console.log(cmd, error)
|
||||||
|
|||||||
Reference in New Issue
Block a user