Open ramseydsilva opened 11 years ago
+1
It only works on the server as far as I'm concerned.
This is an issue with evaluating setTimeout inside PhantomJS. Seems like there is a hack to fix it. Give it a try: https://github.com/ariya/phantomjs/issues/10832#issuecomment-30869416
@arunoda Do you think we could implement this patch into laika
?
I try to delay emitting events in my tests, something like this:
However it doesn't wait 5 minutes to emit. The test output shows it took about 1200ms and I get the undesired result for that test (as a result of not delaying the event).
I also tried using Meteor.setTimeout but the same issue.