karma-phantomjs-launcher-nonet
Launcher for PhantomJS - without dependency on phantomjs npm package.
Original karma-phantomjs-launcher depends on the phantomjs
package. This can be sometimes problematic as phantomjs
package downloads PhantomJS from the third-party website. While this download can be prevented by making sure that you have correct PhantomJS version in the PATH
, this is not always practical.
This package removes phantomjs
from dependencies and requires you to set the path to PhantomJS explicitly.
Installation
The easiest way is to keep karma-phantomjs-launcher-nonet
as a devDependency in your package.json
.
You can simple do it by:
npm install karma-phantomjs-launcher-nonet --save-dev
Configuration
// karma.conf.jsmodule { config;};
For more information on Karma see the original karma-phantomjs-launcher package or Karma homepage.