-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
feat(draft): custom folder to avoid repetitions with __mocks__
#14338
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
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. |
This PR is stale because it has been open 1 year with no activity. Remove stale label or comment or this will be closed in 30 days. |
This PR was closed because it has been stalled for 30 days with no activity. Please open a new PR if the issue is still relevant, linking to this one. |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
👋😅 I think this makes sense as an option 👍 Just needs some documentation I believe? (If you're still up for it) |
Could you update this PR and update the docs? |
Summary
Implement
customMocks
folder feature to avoid__mocks__
folder repetition in monorepos or similar situations (see issue #13647).Work in progress.
Test plan