Don’t write ES6 Angular 1.x unit tests this way!
Brett Uglow
32

Unit vs Integration testing :) It is important to spin up angular and test the functionality as a whole… but that is no longer unit testing. And as always we need both. But if we have a service with some calculation logic and we want to test it extensively. Just it’s own logic then spinning up angular 1000 times just to test stateless logic doesn’t really bring much what do you think ?

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.