Setups testing framework with mocha and friends

Install test framework
✗ npm install mocha chai mocha-phantomjs phantomjs

Testing
✗ mocha-phantomjs test/test.html