Proper unit testing of Angular JS applications with ES6 modules
Tomas Trajan
7711
While initially I was attracted to this concept, very quickly the whole concept of not using Angular’s DI system presents a challenge. While I agree that it’s a huge pain to use the DI system in tests, it gets pretty messy when you get into real-world scenarios. Imagine 5 or 6 dependencies, each with their own dependencies… This is “a real thing” (tm) in our codebase.