Skip to content

Commit

Permalink
Set lifecycleExperimental to true
Browse files Browse the repository at this point in the history
This is supposedly the default, but doesn't seem to be the case. See for more info: enzymejs/enzyme#1247
  • Loading branch information
sawyerh committed Oct 12, 2017
1 parent 3181313 commit 2283f5b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/jest/setupEnzyme.js
Original file line number Diff line number Diff line change
@@ -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
});

0 comments on commit 2283f5b

Please sign in to comment.