Create subfolders for commands

This commit is contained in:
Aleksandr Statciuk
2022-02-11 21:07:16 +03:00
parent e3e4441909
commit eb3f1b25a2
24 changed files with 60 additions and 493 deletions

View File

@@ -3,7 +3,12 @@
"scripts": {
"validate": "node scripts/commands/validate.js",
"lint": "npx m3u-linter -c m3u-linter.json",
"test": "jest --runInBand"
"test": "jest --runInBand",
"test:commands": "jest --runInBand -- commands",
"test:commands:database": "jest --runInBand -- database",
"test:commands:playlist": "jest --runInBand -- playlist",
"test:commands:readme": "jest --runInBand -- readme",
"test:commands:stream": "jest --runInBand -- stream"
},
"jest": {
"testRegex": "tests/(.*?/)?.*test.js$",