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:
Zac Gaetano 2026-05-27 13:54:12 -04:00
parent 3fc8116dd3
commit 3bca290e09

View file

@ -7,7 +7,7 @@
"scripts": { "scripts": {
"start": "node src/index.js", "start": "node src/index.js",
"dev": "node --watch 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": { "dependencies": {
"express": "^4.18.2", "express": "^4.18.2",