DEV Community

Discussion on: Testing setTimeout/setInterval

Collapse
 
rfornal profile image
bob.ts

Awesome! Good to know.

There’s a similar “time” pattern in Jasmine, I believe. The issue here was a client with an existing code-base, including thousands of tests already in Jasmine. In fact, they prefer to only upgrade 3rd party code when it’s clearly broken ... which explains the odd pattern we worked out in this article.

Thanks again for the information. I may jump in and experiment with Jest one of these days!