Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

TypeError: _enzymeAdapterReact.EnzymeAdapter is not a constructor

import Enzyme from 'enzyme'
import Adapter from 'enzyme-adapter-react-16'

Enzyme.configure({ adapter: new Adapter() })
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #constructor
ADD COMMENT
Topic
Name
9+5 =