Files
Java-Tutorials/spring-boot-modules/spring-boot-react/frontend/src/setupTests.js
T
2021-03-28 17:00:33 +01:00

6 lines
241 B
JavaScript

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