update JS unit test requirements

truncation
El RIDO 6 years ago
parent 851c5135fc
commit 14d4226173
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92

@ -51,7 +51,7 @@ and jsdom-global locally:
```console ```console
$ npm install -g mocha istanbul $ npm install -g mocha istanbul
$ cd PrivateBin/js $ cd PrivateBin/js
$ npm install jsverify jsdom@9 jsdom-global@2 $ npm install jsverify jsdom@9 jsdom-global@2 mime-types
``` ```
Example for Debian and Ubuntu, including steps to allow the current user to Example for Debian and Ubuntu, including steps to allow the current user to
@ -63,7 +63,7 @@ $ sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}
$ ln -s /usr/bin/nodejs /usr/local/bin/node $ ln -s /usr/bin/nodejs /usr/local/bin/node
$ npm install -g mocha istanbul $ npm install -g mocha istanbul
$ cd PrivateBin/js $ cd PrivateBin/js
$ npm install jsverify jsdom@9 jsdom-global@2 $ npm install jsverify jsdom@9 jsdom-global@2 mime-types
``` ```
Note: If you use a distribution that provides nodeJS >= 6, then you can install Note: If you use a distribution that provides nodeJS >= 6, then you can install

Loading…
Cancel
Save