All Questions
Tagged with angularjs-module unit-testing
4 questions
0
votes
1
answer
449
views
Circular dependencies on angular modules using typescript
I'm facing this issue where i have 2 angular 1.5 modules that depend on each other, which is fine by angularjs, but when i import them using typescript & webpack, i get circular typescript-module ...
13
votes
2
answers
7k
views
karma.conf.js uncaught referencerror: google no defined
when i try running the karma test runner, i'm getting a error as the following from one of my files, saying that my library google is undefined???
Chrome 36.0.1985 (Mac OS X 10.9.4) ERROR
...
1
vote
1
answer
40
views
AngularJS Module Dilemma - Single or Multiple
For a mid sized application I'm developing, and having watched the Best Practices video by Misko among other articles, I have deduced that I don't need more than one module.
Questions first, ...
0
votes
1
answer
86
views
How to spy on ServiceProvider?
What
In my AngularJS app, I am trying to spy on some internals like angular.module and serviceProvider.
How
I have succeeded in spying on angular.module
var moduleCalls = spyOn(angular, 'module')...