Created
October 15, 2019 08:18
-
-
Save Kjaer/8d41cd40fc83ae12152848658cd6ceca to your computer and use it in GitHub Desktop.
"Setting up Jest and Enzyme for Typescript Next.js apps" post gists
This file contains hidden or 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 Enzyme from 'enzyme'; | |
import Adapter from 'enzyme-adapter-react-16'; | |
// Configure Enzyme with React 16 adapter | |
Enzyme.configure({ adapter: new Adapter() }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment