Jasmine–Async callback was not invoked within timeout
Recently I was updating and fixing some existing unit tests after doing a (rather large) overhaul of code.The unit test previously needed to wait for an asynchronous callback to finish before continuing, something like this: Note the optional done parameter provided to beforeEach. This is a void function that signals Jasmine that the callback is … [Read more…]