Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meteor/tracker #8

Open
avalanche1 opened this issue Mar 3, 2018 · 3 comments
Open

meteor/tracker #8

avalanche1 opened this issue Mar 3, 2018 · 3 comments

Comments

@avalanche1
Copy link

avalanche1 commented Mar 3, 2018

Could you add a stub for Tracker, pls?

@alexismoreau
Copy link

Here is a working code (tests/mocks/react-meteor-data.js) :

const createContainer = jest.fn((options = {}, component) => component );

export const withTracker = jest.fn(Op => jest.fn(C => createContainer(Op, C)));

@tomscholz
Copy link

I am maintaining an active fork here. You are welcome to make a pull request with the aforementioned snippet.

@alexismoreau
Copy link

👍 will do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants