Closed ryanrd closed 2 years ago
You're right; the next release of enzyme pegs cheerio to 1.0.0-rc.3 - you can peg this yourself in the meantime in your package.json.
Why not just add the little isHtml
function into the enzyme file that's trying to import it? It's all of 8 lines and would save the dependency pegging.
@vbhayden that is certainly another alternative.
Current behavior
packages/enzyme/src/Utils.js
import { isHtml } from 'cheerio/lib/utils';
Expected behavior
no error
API
Version
Adapter
N/A