npm install --save-dev jasmine | Installs Jasmine |
npm install --save-dev karma | Installs Karma |
npm install --save-dev karma-jasmine karma-<browser>-launcher | Installs Karma dependencies; replace <browser> with whatever you have installed, e.g. chrome, firefox, or ie. |
For this section you’ll need to have the Visual Studio Tools for Apache Cordova installed. If necessary, restart Visual Studio’s installer, press Modify, check the box for Cross-Platform Mobile Development > HTML/JavaScript (Apache Cordova), and press Update.