I’d like to make it easy to check out my package from git and allow a user to quickly run and add to tests. But I also don’t want to make a hard link to npm packages that the tests rely on. Is there a way to add npm packages for testing without making them required by the package?
Update: I put the deps in my
package.json (distinct from
package.js) and that seems to work pretty well. Is it normal these days to require an npm install to run the tests?