News for hackers. Stuff that matters.
Re:Ask HN: What do you use to test Frontend code? by arbrandes on Saturday September 03, 2011 @02:37PM (#2957833)
This! Also, try to mock any setTimeouts and setIntervals so that they execute callbacks synchronously (i.e, timeout = 0).

There are no comments on this comment yet.