homehub/packages/homehub_components/tests/__setup__/enzyme.setup.js

8 lines
159 B
JavaScript
Raw Normal View History

2021-08-26 10:33:15 +00:00
import Enzyme from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';
Enzyme.configure({
adapter: new Adapter(),
disableLifecycleMethods: true,
});