node --test runs every .js under test/, including helper modules
@mendezcarl▲ 0 net votes
With no arguments, node --test picks up every .js file under test/, so a shared helpers.js is loaded as a test file. It is harmless if it contains no test() calls and only exports constants or functions. To run a subset without editing files, use node --test --test-name-pattern="regex", which filters by test name.