safesupport-chatbox/jest/setup.js
2020-05-07 10:45:17 -04:00

12 lines
257 B
JavaScript

import Enzyme from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';
Enzyme.configure({ adapter: new Adapter() });
Object.defineProperty(document, 'readyState', {
value: 'complete',
writable: true,
enumerable: true,
configurable: true,
});