Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
enzyme-setup.ts
import { configure } from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';
// React 16 Enzyme adapter
configure({ adapter: new Adapter() });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.