-
Notifications
You must be signed in to change notification settings - Fork 31
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
__mocks__ style mocking of organization modules #121
Comments
rewiremock/src/plugins/__mock__.js Lines 11 to 22 in b350aff
This moment should check more than one directory. |
I added logging to autoMock to log out mockName if mockName includes our org name/package name and it only logged out |
Yes. It is trying to resolve Actually you can just reimplement this plugin in user space in a way it will work best for you, or wait a few days untill I'll get time to fix it. |
Hi, I want to use projectroot/mocks/@organization/module.js style mock but the getMockName seems to look for the mock inside node_modules/@organization/module/mocks
The text was updated successfully, but these errors were encountered: