Closed jdunham2 closed 9 years ago
Just did a clean checkout and tried running the tests, couldn't reproduce this.
Could you try cloning this repo and trying to run the tests?
Hey Shyam,
Odd, when I cloned it like you said, it worked! Not sure whats wrong with my repository ...
Thanks! Loving the book.
I reinitialized Karma with fresh angular.min.js and angular-mocks.js and this cleared up the error.
Hrm, it could be because the versions of AngularJS in min.js and mocks.js might have been different. You could check that I guess.
On Wed, 10 Jun 2015 at 20:46 jdunham2 notifications@github.com wrote:
I reinitialized Karma with fresh angular.min.js and angular-mocks.js and this cleared up the error.
— Reply to this email directly or view it on GitHub https://github.com/shyamseshadri/angularjs-up-and-running/issues/19#issuecomment-110791840 .
Best Regards, Shyam
Chrome 43.0.2357 (Mac OS X 10.10.3) MainCtrl Server Calls should load items from server FAILED TypeError: e.cookies is not a function at n (Sites/sandbox/gitHub_basics/angular/angular.min.js:82:350) ...
Not sure why this error is happening, copied and pasted the example from gitHub and still get it :/