Garden.
Start bringing in the testing strategy from NodeJS instead of AngularJS. Add mocha/chai/sinon. Make a minimal Mocha test. Change gulp unit to run Mocha.
Write a unit test that actually tests basic behavior.
Test the other possibility (descending.)
Wire back up karma as "midway" testing. We will use this for index.js wiring of AngularJS. Tried to use angular-node and its jsdom. Also considered mocha-phantomjs. Revisit later.
unit (Mocha), midway (karma), and e2e (protractor) now all work from both the commandline (PyCharm) and gulp. Commented e2e out of gulp test until we can ensure it works ok on Travis. I think we'll need to configure .travis.yml to setup xvfb and make Firefox the protractor browser for Travis.
Final cleanups.
karma-browserify got updated, which triggered a browserify update, which then caused me to go do a lot of updating and cleaning in package.json.
Remove the delay.
Wow, that was horrible. Bail out of CommonJS and Browserify in Karma tests.
Get ui-bootstrap correctly loaded. Change gulp test to depend on running build.
midway requires build to run first.
Need to start selenium server first.
Dummy.
Let's make sure unit and midway pass on Travis.
Turn back on E2E.
Merge pull request #47 from MoonshotProject/pe-basic-mocha-tests

Very good :)
Note: as the e2e tests are still failling, wouldn't be better to remove them from the travis conf?