regexper-static/jest/setup.js
2019-01-04 18:38:49 -05:00

9 lines
169 B
JavaScript

import Enzyme from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';
Enzyme.configure({ adapter: new Adapter() });
global.___loader = {
enqueue: jest.fn()
};