hwillson / meteor-stub-collections

Stub out Meteor collections with in-memory local collections.
MIT License
24 stars 17 forks source link

Not all collection properties are stubbed with common packages #35

Open mfen opened 4 years ago

mfen commented 4 years ago

Our tests began failing as stubbed collections weren't being cleared on restore(). Digging, we found that at the point of parsing collection symbols to stub it was only capturing the own properties from common packages extending Mongo.Collection, e.g. matb33:meteor-collection-hooks.

This looks like #11 again, which was solved with #13 but later undone by cleanup in 376eff1

Will submit a PR to restore the fix.

brylie commented 4 years ago

Any status update for this issue?