Fix tests watch subfolders

This commit is contained in:
Lorenzo Iovino 2024-01-23 12:34:45 +01:00
parent 434d53e034
commit 8a5d695c45
2 changed files with 4 additions and 4 deletions

View file

@ -8,8 +8,8 @@
"build": "tsc -p tsconfig.json",
"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": "node --import tsx --test --watch **/**/*.spec.ts",
"test": "node --import tsx --test **/**/*.spec.ts"
},
"author": "",
"license": "ISC",

View file

@ -8,8 +8,8 @@
"build": "tsc -p tsconfig.json",
"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": "node --import tsx --test --watch **/**/*.spec.ts",
"test": "node --import tsx --test **/**/*.spec.ts"
},
"bin": {
"node-base": ".bin/install.js"