regexper-static/jest/setup.js

9 lines
169 B
JavaScript
Raw Normal View History

2019-01-04 23:38:49 +00:00
import Enzyme from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';
Enzyme.configure({ adapter: new Adapter() });
global.___loader = {
enqueue: jest.fn()
};