Hi,
I am using the gameController for a new project. It runs fine in the browser, but causes the following error when running ‘npm test’:
INFO [Chrome 40.0.2214 (Mac OS X 10.10.0)]: Connected on socket yxapCTVGyRn7TJwqqawn
Chrome 40.0.2214 (Mac OS X 10.10.0) ERROR
Uncaught TypeError: Cannot set property 'GameController' of undefined
at /Users/tim/angular/games/mitch/app/components/gamecontroller.js:71
Chrome 40.0.2214 (Mac OS X 10.10.0) ERROR
Uncaught TypeError: Cannot set property 'GameController' of undefined
at /Users/tim/angular/games/mitch/app/components/gamecontroller.min.js:1
I am using the standard Angular Seed as a starting point for the app. Any help would be great, as it would be nice to get the unit test running again.
Hi,
I am using the gameController for a new project. It runs fine in the browser, but causes the following error when running ‘npm test’:
I am using the standard Angular Seed as a starting point for the app. Any help would be great, as it would be nice to get the unit test running again.