diff --git a/tests/commands/playlist/validate.test.ts b/tests/commands/playlist/validate.test.ts index 95f77cd9e..fe4885b9d 100644 --- a/tests/commands/playlist/validate.test.ts +++ b/tests/commands/playlist/validate.test.ts @@ -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' }) + }) })