Skip to content

[Docs]: Add jest-environment-jsdom information to guides for dom manipulation#12828

Description

@Aveline-art

馃殌 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions