Skip to content

Glossary: Testing Web Apps

jest-dom

Also written: @testing-library/jest-dom, toBeInTheDocument, toHaveTextContent, toHaveValue, toBeDisabled

A library adding matchers that read the DOM, such as toBeInTheDocument, toHaveTextContent, toHaveValue and toBeDisabled. The setup file imports it.

Where the book teaches it

Related terms

Setup fileDOM