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()
|
|
|
|
};
|
2019-02-01 02:10:33 +00:00
|
|
|
|
|
|
|
global.Element.prototype.getBBox = jest.fn();
|