https://docs.microsoft.com/en-us/visualstudio/cross-platform/tools-for-cordova/debug-test/basic-tests-with-jasmine?view=toolsforcordova-2017

npm install --save-dev jasmineInstalls Jasmine
npm install --save-dev karmaInstalls Karma
npm install --save-dev karma-jasmine karma-<browser>-launcherInstalls Karma dependencies; replace <browser> with whatever you have installed, e.g. chrome, firefox, or ie.

https://docs.microsoft.com/en-us/visualstudio/cross-platform/tools-for-cordova/debug-test/visual-studio-unit-testing-with-chutzpah?view=toolsforcordova-2017

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.

visual studio , JavaScript , UnitTest-LMLPHP

05-21 06:23