How to run Jasmine headless with grunt-phantom-jasmine.
Clone this project with this command:
git clone https://github.com/brendonco/testing-grunt-phantom-jasmine.git
Go to where you clone the project e.g. testing-grunt-phantom-jasmine.
In terminal or commandline, install grunt plugins with this command:
npm install
Once the plugin has been installed, open another terminal and execute http-server with this command:
http-server
In testing-grunt-phantom-jasmine folder, execute grunt with this command:
grunt