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 b3cb04c commit 5e077fcCopy full SHA for 5e077fc
babel.config.js
@@ -7,6 +7,6 @@ module.exports = {
7
node: 'current'
8
}
9
10
- ]
+ ], '@babel/preset-react'
11
]
12
};
testutils/jest-setup-files.js
@@ -1 +1,6 @@
1
+import { configure } from 'enzyme';
2
+import Adapter from 'enzyme-adapter-react-16';
3
+
4
global.fetch = require('jest-fetch-mock');
5
+configure({ adapter: new Adapter() });
6
0 commit comments