openMF/community-app — pull request #569 by chelseakomlo (2013-12-11 17:30:42+00:00)
Title: Added Grunt task "test"

@swatro and I did the following:

- Added a Grunt task "test". This runs all tests from the command line using PhantomJS.
- fixed karma.config.js to run necessary files & have updated formatting.
- fixed MainControllerSpec tests by adding a mock method to "translate" object.

There are currently tests failing, but these are the same tests that fail when you run SpecRunner.html. These will definitely need to be fixed.

In the future, please run "grunt test" before committing to verify changes have not broken existing functionality.

The next step we will be working on will be to set up a Travis ci server.