Allow for specific imports: ie, require('enzyme/mount')
and require('enzyme/shallow')
#195
Labels
require('enzyme/mount')
and require('enzyme/shallow')
#195
This API would allow for people who just want to work with shallow or mount etc. to not fight with their bundlers.
Ideally,
cheerio
could only be in the require path forenzyme/render
. This may not be possible though, given that we have theShallowWrapper::render
API now. :/Either way, would be a good addition.
The text was updated successfully, but these errors were encountered: