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