enzymejs / enzyme

JavaScript Testing utilities for React
https://enzymejs.github.io/enzyme/
MIT License
19.95k stars 2.01k forks source link

thrown: Promise {} error in static component #2520

Closed fear018 closed 3 years ago

fear018 commented 3 years ago

image

Hello everyone! Can anyone come across such a problem? The component is static and don't have asynchronous logic.

API

Version

library version
enzyme 3.11.0
react 17.0.2
react-dom 17.0.2
adapter (below) 0.6.0

Adapter

ljharb commented 3 years ago

enzyme does not have a react 17 adapter yet, nor support react 17 yet - see #2429.