update JS unit test requirements

This commit is contained in:
El RIDO 2018-06-26 22:21:33 +02:00
parent 851c5135fc
commit 14d4226173
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92
1 changed files with 2 additions and 2 deletions

View File

@ -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