Loosing spies when testing in angularJS – alboh – Medium

  • JavaScript – Make your Code Cleaner with Decorators
  • Never miss a story from alboh , when you sign up for Medium.
  • If i run my test suite and some method is calling another one which is using the timeout decorator then all spies are getting lost.
  • Loosing spies when testing in angularJS
  • 15 hrs ago

Loosing spies when testing in angularJS. If i run my test suite and some method is calling another one which is using the timeout decorator then all spies are getting lost.

@MarcEdgeley: #Angularjs #JavaScript Loosing spies when testing in angularJS via @Medium

decorator then all spies are getting lost.

How would you test this decorator in such a scenario?

Loosing spies when testing in angularJS – alboh – Medium

You might also like More from author

Comments are closed, but trackbacks and pingbacks are open.