You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This may not be a typical use case, but I'm running unit tests for a Meteor app with Jest and circumventing Meteor's test command. If you were to change this package from using Tracker as global to an imported/required dependency, I could mock its import with a moduleNameMapper in jest.
So instead of just doing
Tracker.autorun()
It would be great if the dependency was explicitly imported/required
This may not be a typical use case, but I'm running unit tests for a Meteor app with Jest and circumventing Meteor's test command. If you were to change this package from using
Tracker
as global to an imported/required dependency, I could mock its import with amoduleNameMapper
in jest.So instead of just doing
It would be great if the dependency was explicitly imported/required
The text was updated successfully, but these errors were encountered: