All Questions
3
questions
1
vote
1
answer
354
views
Why doesn't my Angular test $scope have the method defined on it?
For some reason the scope I'm injecting isn't getting populated, actually this might be somewhat obvious, a console.log statement revealed the controller isn't actually being executed until after the ...
1
vote
1
answer
334
views
Dependency injection or Service location with RequireJs
I'm a little confused about how I should be instantiating my objects with RequireJs. I'm using coffeescript classes which defines all my objects as typed functions? (not sure on the correct ...
8
votes
1
answer
2k
views
JavaScript dependency injection using RequireJS, Jasmine and testr
I've just looking for dependency injection in my unit test strategy using RequireJS and Jasmine. I really like the idea behind testr and I have tried to setup testr following the examples in github ...