For node projects, there is usually a folder with tests at the top level. For example, for my projects, I usually have the following folders:
bin (for boxes)lib (for node.js files)test (for tests)config (for configuration files, if necessary)publicor static(for static assets, if necessary)node_modules (where modules with installed npm end)
, , . , "npm test" , package.json.