Update validate.test.ts

This commit is contained in:
freearhey
2025-05-19 19:12:06 +03:00
parent d183ef688a
commit c6a6ce2ef0

View File

@@ -41,4 +41,9 @@ describe('playlist:validate', () => {
)
}
})
it('skip the file if it does not exist', () => {
const cmd = `${ENV_VAR} npm run playlist:validate -- missing.m3u`
execSync(cmd, { encoding: 'utf8' })
})
})