Skip to content

Update docs to remove toBeInTheDOM #75

Closed
@kentcdodds

Description

@kentcdodds

Regarding the deprecation of toBeInTheDOM we should either find better assertions or use toBeInTheDocument: testing-library/jest-dom#40

Anyone wanna try that?

For dom-testing-library, most of the examples aren't actually attached to document.body so toBeInTheDocument wont work. We'll have to think of something better on a case-by-case basis I think.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationAn update needs to be made to documentationhelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions