html5-virtual-game-controller icon indicating copy to clipboard operation
html5-virtual-game-controller copied to clipboard

Error during Karma Test

Open timofeysie opened this issue 11 years ago • 0 comments

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.

timofeysie avatar Feb 01 '15 05:02 timofeysie