Closed s100 closed 4 years ago
You're correct, this should not issue a warning.
Thank you for the prompt fix! Looking forward to the new release...
@ljharb Do you know when there is likely to be a new version of enzyme-adapter-react-16
released with this fix in?
@s100 v1.15.5 has been released.
Current behavior
We have our unit tests rigged to fail if there are prop type errors. After upgrading to
enzyme-adapter-react-16@1.15.4
(from1.15.3
), we find the following minimal test case causes a prop type error:The error we get is:
I guess
<FakeSuspense>
is an Enzyme internal?This worked in
1.15.3
. We think the change in behaviour comes from #2443.Expected behavior
Unless there's something about
<Suspense>
which I'm misunderstanding, I don't believe there should be any prop type error here. This unit test should pass.Your environment
API
Version
Adapter