Re:Jest – Painless JavaScript Testing
by couchand on Wednesday May 14, 2014 @07:22PM
(#7747093)
That might work for simple cases but I'd be worried that switching all your asynchronous calls to synchronous has the potential to introduce bugs that your tests would then miss. Testing asynchronous functions is hard for lots of reasons, and only one of them is that you have to wait for it to finish.
[ Parent
| on HN ]
There are no comments on this comment yet.