11 lines
216 B
JavaScript
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();
|