Unit testing JavaScript with Promises and Jasmine by Carlos Ble | Mar 22, 2013 | JavaScript, Test Driven Development | 3 comments Promises are a nice solution to write readable asynchronous code in JavaScript. If you understand Spanish, I highly recommend this great talk on Promises by Enrique Amodeo. But, is the code with promises easy to unit test? It’s not very difficult, you have to take into