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

fix: ignore node_modules path for jest watchman #606

Merged
merged 1 commit into from
Sep 25, 2024

Conversation

brobro10000
Copy link
Member

@brobro10000 brobro10000 commented Sep 22, 2024

When attempting to run a Jest test with the watch flag, (Ex. npm run test:watch) within the frontend-app-admin-portal repository, I ran into an issue where the Jest watch would not initiate and would trigger the following error:

Screenshot 2024-09-22 at 12 21 05 AM

Adding the configuration field watchPathIgnorePatterns to the jest config file to ignore the node modules directory when running a Jest watch. The inclusion of this field resolved the error locally as an override field in jest.config.js, but I am proposing to add it within frontend-build's jest.config.js configuration directly.

@brobro10000 brobro10000 merged commit e7e3f9e into master Sep 25, 2024
5 checks passed
@brobro10000 brobro10000 deleted the hu/ent-jest-config-092024 branch September 25, 2024 17:43
@openedx-semantic-release-bot

🎉 This PR is included in version 14.1.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

@openedx-semantic-release-bot

🎉 This PR is included in version 15.0.0-alpha.20 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants