antv-l7/jest/setupTests.ts

6 lines
156 B
TypeScript

import Enzyme from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';
import 'jest-styled-components';
Enzyme.configure({ adapter: new Adapter() });