Jest DOM (for DOM assertions via @testing-library/jest-dom)

E696506

Jest DOM is a companion library for Jest that provides convenient, human-readable DOM-specific assertion matchers commonly used with React Testing Library and other @testing-library tools.

Try in SPARQL Jump to: Surface forms Statements Referenced by

Observed surface forms (1)

Surface form Occurrences
Jest DOM 0

Statements (51)

Predicate Object
instanceOf DOM assertion library
JavaScript testing library
Jest companion library
open-source software
category frontend testing
testing
unit testing
configuration can be added in Jest setupFilesAfterEnv
distributedAs npm package
documentation https://testing-library.com/docs/ecosystem-jest-dom
ecosystem Testing Library NERFINISHED
extends expect
goal encourage testing from the user perspective
improve test readability
provide human-readable DOM assertions
hostedOn GitHub NERFINISHED
importStyle import '@testing-library/jest-dom';
integratesWith Jest expect API NERFINISHED
language JavaScript NERFINISHED
license MIT License
maintainedBy Testing Library maintainers
matcher .toBeDisabled
.toBeEmptyDOMElement
.toBeEnabled NERFINISHED
.toBeVisible
.toContainElement
.toContainHTML
.toHaveAccessibleDescription NERFINISHED
.toHaveAccessibleName
.toHaveAttribute
.toHaveClass
.toHaveDisplayValue
.toHaveFocus
.toHaveFormValues
.toHaveStyle
.toHaveTextContent
.toHaveValue NERFINISHED
matcher .toBeInTheDocument
npmPackageName @testing-library/jest-dom NERFINISHED
providedBy @testing-library/jest-dom NERFINISHED
repository https://github.com/testing-library/jest-dom
runsOn Node.js NERFINISHED
supports DOM-specific assertions
TypeScript type definitions
custom Jest matchers
usedWith @testing-library/angular NERFINISHED
@testing-library/dom NERFINISHED
@testing-library/react NERFINISHED
@testing-library/vue NERFINISHED
Jest NERFINISHED
React Testing Library NERFINISHED

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.

Jest ecosystem Jest DOM (for DOM assertions via @testing-library/jest-dom)