Top "Mocha-phantomjs" questions

Mocha is a feature-rich JavaScript test framework running on node and the browser.

npm error ELIFECYCLE while running the test

I am using mocha-phantomjs setup for unit testing. I have following package.json scriot to run the tests. "scripts": { "test": "…

node.js unit-testing npm mocha-phantomjs
No binary for PhantomJS browser on your platform. Please, set "PHANTOMJS_BIN" env variable

My package.json looks like this.. "karma-phantomjs-launcher": "^0.1.4", "karma-safari-launcher": "^0.1.1", "karma-sinon-chai": "~0.2.0", "karma-spec-reporter": "~0.0.16", "mocha": "~1.20.1" my npm version is 2.2.0 whay am I getting this …

phantomjs karma-runner mocha-phantomjs karma-mocha karma-coverage