commit | author | age | ||
bae328 | 1 | // jest-dom adds custom jest matchers for asserting on DOM nodes. |
JR | 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/extend-expect"; | |
6 | import { configure } from "enzyme"; | |
7 | import Adapter from "enzyme-adapter-react-16"; | |
8 | ||
9 | configure({ adapter: new Adapter() }); |