homehub/packages/homehub_components/tests/__setup__/enzyme.setup.js
2021-08-26 12:33:15 +02:00

8 lines
159 B
JavaScript

import Enzyme from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';
Enzyme.configure({
adapter: new Adapter(),
disableLifecycleMethods: true,
});