fix(mam-api): test glob — use find so npm test picks up files at any depth
/bin/sh (which npm uses) doesn't expand ** recursively. Task 1's smoke test under test/ stopped being discovered once Task 3 added tests under test/auth/. find + sort keeps depth-agnostic discovery portable across shells.
This commit is contained in:
parent
3fc8116dd3
commit
3bca290e09
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@
|
|||
"scripts": {
|
||||
"start": "node src/index.js",
|
||||
"dev": "node --watch src/index.js",
|
||||
"test": "node --test test/**/*.test.js"
|
||||
"test": "node --test $(find test -name '*.test.js' | sort)"
|
||||
},
|
||||
"dependencies": {
|
||||
"express": "^4.18.2",
|
||||
|
|
|
|||
Loading…
Reference in a new issue