From 5bc61b462d5b5ae51c06ef2d575ea6c8b206c681 Mon Sep 17 00:00:00 2001 From: freearhey <7253922+freearhey@users.noreply.github.com> Date: Mon, 19 May 2025 19:12:06 +0300 Subject: [PATCH] Update validate.test.ts --- tests/commands/playlist/validate.test.ts | 5 +++++ 1 file changed, 5 insertions(+) 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' }) + }) })