Jasmine–Testing code that contains setTimeout
![](https://www.darchuk.net/wp-content/uploads/2018/08/time-2034990_640.jpg)
Recently I wrote some code that contained a setTimeout. The reason was so that the UI could catch up before the function actually fired – something that I’ve found the need to do with javascript from time to time. So, when it comes to testing the code… my test just skipped along until it literally … [Read more…]