diff --git a/tools/jest/setupEnzyme.js b/tools/jest/setupEnzyme.js index dddc9eef27..fc3503a45a 100644 --- a/tools/jest/setupEnzyme.js +++ b/tools/jest/setupEnzyme.js @@ -1,4 +1,7 @@ import Adapter from 'enzyme-adapter-react-16'; import { configure } from 'enzyme'; -configure({ adapter: new Adapter() }); +configure({ + adapter: new Adapter(), + lifecycleExperimental: true // https://github.com/airbnb/enzyme/issues/1247 +});