Created
February 19, 2018 00:01
-
-
Save vitkon/07f77683042cdd183aa366e9fdf2f904 to your computer and use it in GitHub Desktop.
Poi article files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { configure } from 'enzyme'; | |
import * as Adapter from 'enzyme-adapter-react-16'; | |
configure({ adapter: new Adapter() }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I believe this should be
import Adapter from 'enzyme-adapter-react-16';
as its gives me an error that Adapter is not a constructor 🤔