This does not work in Preact 10.0.0-beta.2
38elements opened this issue · 2 comments
38elements commented
I use 1.13.1
.
This works in Preact 10.0.0-beta.1
.
This does not work in Preact 10.0.0-beta.2
.
TypeError: Cannot read property 'setState' of undefined
at MountRenderer.render (node_modules/enzyme-adapter-preact-pure/build/src/MountRenderer.js:45:22)
at new ReactWrapper (node_modules/enzyme/build/ReactWrapper.js:134:16)
at mount (node_modules/enzyme/build/mount.js:21:10)
robertknight commented
Thank-you for the report. This has been resolved in v1.13.2.
38elements commented
Thanks a lot.
This works normally.