1 2 3 4
import Adapter from 'enzyme-adapter-react-16'; import { configure } from 'enzyme'; configure({adapter: new Adapter()});