Add test command with --test-only parameter

This commit is contained in:
Lorenzo Iovino 2024-01-25 18:05:02 +01:00
parent 8a5d695c45
commit 807518f87e

View file

@ -9,8 +9,9 @@
"build+start": "npm run build && npm run start",
"build:watch": "tsc -w -p tsconfig.json",
"test:watch": "node --import tsx --test --watch **/**/*.spec.ts",
"test": "node --import tsx --test **/**/*.spec.ts"
},
"test:watch:only": "node --import tsx --test --test-only --watch **/**/*.spec.ts",
"test": "node --import tsx --test **/**/*.spec.ts",
"test:only": "node --import tsx --test --test-only **/**/*.spec.ts"},
"bin": {
"node-base": ".bin/install.js"
},