WIP - Fix karma config file order to successfully boostrap app

There were a few issues here:

1. Relying on globs meant that modules were loaded out of order. So
'habitrpgc' was undefined when we were trying to add services etc to it.
The short term solution is to list them in the same way we list them in manifest
json. The long term would be switching everything to browserify so as to
avoid ordering/listing nightmare by having a single bundle.
2. We were missing exeternal deps (like 'hello') so the tests were
breaking before they even started. Some of them still are
3. We were including services that don't seem to exist anymore  (e.g. `habitrpgstatic`). We still are in certain places
This commit is contained in:
Nick Tomlin
2015-03-05 12:12:23 -06:00
parent 5b546d5ff1
commit e7f65f219a
3 changed files with 39 additions and 8 deletions

View File

@@ -2,8 +2,6 @@
describe('Auth Controller', function() {
beforeEach(module('habitrpgStatic'));
describe('AuthCtrl', function(){
var scope, ctrl, user, $httpBackend, $window;