Closed jdgjsag67251 closed 10 months ago
See #288.
Ok, so apparently Meteor just internally calls the non-async methods and wraps them in a Promise: https://github.com/meteor/meteor/blob/devel/packages/mongo/collection.js#L998. This PR just adds tests to make sure that the hooks keep working when Meteor changes their implementation.
Cool, thnx. I've updated the PR.
That's great @jdgjsag67251 :+1: Thanks a lot! @StorytellerCZ lgtm, can be merged
See #288.
Ok, so apparently Meteor just internally calls the non-async methods and wraps them in a Promise: https://github.com/meteor/meteor/blob/devel/packages/mongo/collection.js#L998. This PR just adds tests to make sure that the hooks keep working when Meteor changes their implementation.