Skip to content
Snippets Groups Projects
Commit ae48e75a authored by Kegan Dougal's avatar Kegan Dougal
Browse files

Use phantomjs as the default browser and not chrome.

parent 29b54d66
No related branches found
No related tags found
No related merge requests found
Requires:
- nodejs/npm
- npm install karma
Testing is done using Karma.
UNIT TESTING
============
Requires the following:
- npm/nodejs
- phantomjs
Requires the following node packages:
- npm install jasmine
- npm install protractor (e2e testing)
- npm install karma
- npm install karma-jasmine
- npm install karma-phantomjs-launcher
- npm install karma-junit-reporter
Setting up continuous integration / run the unit tests (make sure you're in
this directory so it can find the config file):
Make sure you're in this directory so it can find the config file and run:
karma start
You should see all the tests pass.
E2E TESTING
===========
npm install protractor
Setting up e2e tests (only if you don't have a selenium server to run the tests
on. If you do, edit the config to point to that url):
......
......@@ -82,7 +82,7 @@ module.exports = function(config) {
// start these browsers
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
browsers: ['Chrome'],
browsers: ['PhantomJS'],
// Continuous Integration mode
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment