meteor-subscription-scope
meteor-subscription-scope copied to clipboard
Tests are currently failing
The reason is that we are deleting any fields starting in _sub_ when querying local collections on the client, but this interferes also with maintenance of internal collection, so when server removes our _sub_ fields (when subscription in tests is stopped), those fields are not really removed from internal collection because projection removes them from the object as well then, so tests fail.
If/once this PR lands in Meteor it would fix this issue as well: https://github.com/meteor/meteor/pull/10696
Not sure why it worked in the past.
This is not too critical issue though, only tests are pretty strict. So you should never try to query after you stopped subscription anyway. This is when this failure mode occurs.