-
-
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
[Docs]: Add jest-environment-jsdom information to guides for dom manipulation #12828
Labels
Comments
Good idea. Just send a PR. By the way, pointing to test environment docs (like here) could be useful too. |
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
🚀 Feature Proposal
Nothing too huge. While trying to integrate JSDom with Jest (for use with React Testing Lib), I could not for the life of me figure out what was missing until I dug into the change logs (https://jestjs.io/blog/2022/04/25/jest-28#breaking-changes). Just a quick addition to this documentation clarifying the need to both manually add jest-environment-jsdom and setting the environment to jsdom would help in setting up jest quickly for dom testing.
Motivation
Makes your docs easier to use and understand so that developers would not need to dig into change logs to find answers.
Example
No response
Pitch
This is a quick and easy way to improve documentation so that users can get started on testing a lot quicker.
The text was updated successfully, but these errors were encountered: