-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Prevents watchers from being awake by created folders #6818
Conversation
Hey @arcanis I think we could add an e2e test for this similar to these tests by creating a directory with Also it looks like you will need to update the haste map unit tests that mock out |
(also missing a changelog in addition to the test :D) |
Added a test, fixed the linting, updated the changelog 🙂 |
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. |
Summary
Jest Haste Map has an issue that cause it to crash when a folder named
[something].js
is created. The only check it does it by extension, which isn't good enough (runningyarn add md5.js
would cause a crash, for example).Test plan
Not sure how to test folder creation with the Jest Haste Map test infra?