My PIA in Development
Pain In my Ass
Tuesday, March 15, 2016
When it comes across circular-dependency
Refer to
Circular Dependency in constructors and Dependency Injection
I have to quote this:
To find out which one it is, list all of the methods in your class B used by class A, and all the methods in your class B used by class A. The shorter of the two lists is your hidden Class C.
Wednesday, March 9, 2016
Share mocks between Protractor and Karma unit-test
TL;DR
Just follow this post:
Using Browserify To Enhance Your AngularJS Tests
And change all
module
in your test code to
angular.mock.module
, then it's good to go
Read more »
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)