From 502c2acc9e27cd44311ff864ac32ca54d8d3baa4 Mon Sep 17 00:00:00 2001 From: Alexis Tyler Date: Sun, 1 Jan 2017 16:38:17 +1030 Subject: [PATCH] don't recommend sudo, add npm install to test command --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 583289f..f0ade45 100644 --- a/README.md +++ b/README.md @@ -150,14 +150,16 @@ A cleanup handler should never call `process.exit()`. If a handler prevents a si This module includes an extensive test suite. You can run it from the module directory with either the [`tap`](http://www.node-tap.org/basics/) or [`subtap`](https://github.com/jtlapp/subtap) test runner, as follows: ``` -sudo npm install -g tap +npm install -g tap +npm install tap tests/*.js ``` or ``` -sudo npm install -g subtap +npm install -g subtap +npm install subtap ```