@bob.jsBob Fornal REAL, FUN, GEEK who is passionate about Front-End! Recently at a client, a question came up about unit testing functionality that used setTimeout and setInterval. The issue in this particular case was that there were several additional locations where setTimeout and setInterval had been implemented ... and the complete codebase needs to run before testing. Because all code runs, there are "bleed over" cases where other code is interfering with the tests.
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile