thing that i’d done wrong is return an object with the counter, since integers are value types, I was mutating something outside of the scope of what would be visible. I had another solution that needed spied.count() rather than spied.count, which is probably how I’d do it in real life
@killtheliterate this looks great!
Angular and stuff
@killtheliterate what's that article about promises where the guy was critical of bluebird?