dimanche 23 août 2015

How should the run block be dealt with in Angular unit tests?

I'd think that if you're testing a component, you wouldn't want to simultaneously be testing the run block. Is that true?

I have an $http call being made in my run block and it's giving me Error: Unexpected request: GET /current-user.

Aucun commentaire:

Enregistrer un commentaire