You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

setupTests.js 241B

12345
  1. // jest-dom adds custom jest matchers for asserting on DOM nodes.
  2. // allows you to do things like:
  3. // expect(element).toHaveTextContent(/react/i)
  4. // learn more: https://github.com/testing-library/jest-dom
  5. import '@testing-library/jest-dom';