import { configure } from 'enzyme'; import Adapter from 'enzyme-adapter-react-16'; import './globals'; configure({ adapter: new Adapter() });