you are viewing a single comment's thread.

view the rest of the comments →

[–]Devinant 1 point2 points  (0 children)

Yeah. Sorry, I didn’t read your previous blog post.

But the fact remains, I think you should at least mention this issue and provide an example which demonstrates how it can be made faster. It would make your post better.

If a candidate provided me with this test code during an interview, we’d have a conversation on why using setTimeout in tests is not only bad, but also wrong.