Parcourir la source

update JS unit test requirements

El RIDO il y a 8 ans
Parent
commit
14d4226173
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      tst/README.md

+ 2 - 2
tst/README.md

@@ -51,7 +51,7 @@ and jsdom-global locally:
 ```console
 $ npm install -g mocha istanbul
 $ 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
@@ -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
 $ npm install -g mocha istanbul
 $ 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