ocrcc-chatbox/jest/setup.js
2018-06-09 09:17:40 -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,
});