jest-dom adds custom jest matchers for asserting on DOM nodes code example
Example: "@testing-library/jest-dom"
npm install --save-dev @testing-library/jest-dom
// or
yarn add --dev @testing-library/jest-dom
npm install --save-dev @testing-library/jest-dom
// or
yarn add --dev @testing-library/jest-dom