You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.
Cannot find module 'react/lib/ReactComponentTreeHook' from 'ReactDebugTool.js'
at Resolver.resolveModule (node_modules/jest-resolve/build/index.js:151:17)
at Object.<anonymous> (node_modules/react-test-renderer/lib/ReactDebugTool.js:16:30)
at Object.<anonymous> (node_modules/react-test-renderer/lib/ReactInstrumentation.js:19:24)
Hi Simen! Definitely want to support this outcome, though I think it's likely to be a module that gets directly aliased (preact-test-renderer), since the internals behind that facade a little vast.
@jackyef We don't have an official json renderer right now. In either way we won't add new features to preact-compat which is based on an older version of Preact (8.x). preact-compat was moved to core and is available under preact/compat.
It's amazing in Jest tests. But I get
With the following config:
https://github.com/facebook/react/blob/master/src/isomorphic/hooks/ReactComponentTreeHook.js
Kinda related to enzymejs/enzyme#715 I suppose
The text was updated successfully, but these errors were encountered: