safesupport-chatbox/jest/setup.js

12 lines
257 B
JavaScript
Raw Normal View History

2020-05-07 14:45:17 +00:00
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,
});