We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26291b6 commit 710462cCopy full SHA for 710462c
src/setupTests.ts
@@ -1,5 +1,4 @@
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/extend-expect'
+import { configure } from 'enzyme'
+import Adapter from 'enzyme-adapter-react-16'
+
+configure({ adapter: new Adapter() })
0 commit comments