Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes two issues that enable running tests downstream in nodejs: - Running tests using `npm run-script test` instead of the `npm test` alias will result in a failure since `test/lib/npm.js` have an assertion for "test" being the command only. This changes it so that this particular test also accepts "run-script" as the command. - Explicitly enable colors for tap output so that running the test suite in a non-tty environment will result in output that matches coloured snapshots. PR-URL: npm#2225 Credit: @ruyadorno Close: npm#2225 Reviewed-by: @darcyclarke
- Loading branch information