`node --test <dir>` treats a directory argument as a module path on some Node builds (reproduced on v22.23.2), so `npm test` failed before running any tests. `node --test` with no args discovers the same tests/ files portably.