regexper-static/jest/setup.js
2019-01-31 21:10:33 -05:00

11 lines
216 B
JavaScript

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