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

Configurable mock directory path #474

Closed
garthk opened this issue Aug 25, 2015 · 4 comments
Closed

Configurable mock directory path #474

garthk opened this issue Aug 25, 2015 · 4 comments

Comments

@garthk
Copy link

garthk commented Aug 25, 2015

If we can support people renaming __tests__, why not also __mocks__?

{
  "testDirectoryName": "tests",
  "mockDirectoryName": "mocks"
}
@mhagmajer
Copy link

+1

@cpojer
Copy link
Member

cpojer commented Oct 22, 2015

Agreed! @garthk are you open to sending a pull request for this feature? :)

@cpojer
Copy link
Member

cpojer commented Nov 18, 2015

This will be part of jest (0.9.0?) towards the end of the year. It is already part of #599 which will be merged in about two weeks from now. Closing this because the PR tracks this feature.

@cpojer cpojer closed this as completed Nov 18, 2015
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants