Using familiar tools like eslint to refactor large JS codebases
Naming Things: Avoid "Handlers"
Method names should tell you what they do, rather than how they're used
Quickie: $httpBackend flush() $digest in progress
Angular's $httpBackend reports a $digest in progress error when using both flush() and verifyNoOutstandingExpectation()
Quickie: Sinon.JS withArgs not working
Sinon.JS is peculiar about creating stubs using `withArgs` inline