Meteor-Community-Packages / meteor-publication-collector

Test a Meteor publication by collecting its output.
https://atmospherejs.com/johanbrook/publication-collector
MIT License
33 stars 20 forks source link

Does not collect results on `ready()` #9

Closed drewmoore closed 8 years ago

drewmoore commented 8 years ago

When a collection is published using the low-level publication API, calling this.ready() does not seem to have any effect. My tests are reporting: Error: timeout of 2000ms exceeded.. I can't replicate this error when running the app and subscribing to the same publication. I noticed this package's tests are testing publications that all use return, so it may be worth checking this use case.

Thanks for the package, though. It makes testing so much easier in the majority of use cases.

drewmoore commented 8 years ago

I actually found that the version I was running was 1.01. When I updated to 1.02 this bug disappeared. Thanks!

johanbrook commented 8 years ago

Neat!