Update edit.test.ts

This commit is contained in:
freearhey 2025-01-16 22:33:34 +03:00
parent bc311ae5b9
commit 3789b88d0e

View file

@ -28,6 +28,9 @@ describe('channels:edit', () => {
const stdout = execSync(cmd, { encoding: 'utf8' })
if (process.env.DEBUG === 'true') console.log(cmd, stdout)
checkStdout(stdout)
expect(content('tests/__data__/output/channels.xml')).toEqual(
content('tests/__data__/expected/sites/channels-edit/example.com.channels.xml')
)
} catch (error) {
// NOTE: for Windows only
if (process.env.DEBUG === 'true') console.log(cmd, error)