Minor changes to the tests

This commit is contained in:
freearhey 2025-01-07 19:24:50 +03:00
parent e1ffd61618
commit 3c858ecca9
6 changed files with 24 additions and 21 deletions

View file

@ -15,7 +15,7 @@ describe('channels:parse', () => {
const cmd =
'npm run channels:parse --- --config=tests/__data__/input/channels-parse/channels-parse.config.js --output=tests/__data__/output/channels.xml'
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/channels.xml')).toEqual(
content('tests/__data__/expected/sites/channels-parse/channels-parse.channels.xml')