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
feat(draft): custom folder to avoid repetitions with __mocks__
#14338
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for jestjs ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
__mocks__
__mocks__
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cool
'__mocks__', | ||
); | ||
// eslint-disable-next-line no-console | ||
console.log(options?.customMockPath); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe remove this console.log?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a draft so I didn't remove these checkers yet
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh, okay, nice
Just remembering that this PR is not forgotten. Im just having a though time in the work and my time is strictly limited. |
Summary
Implement
customMocks
folder feature to avoid__mocks__
folder repetition in monorepos or similar situations (see issue #13647).Work in progress.
Test plan