-
Notifications
You must be signed in to change notification settings - Fork 179
Description
Is your feature request related to a problem? Please describe.
I have a React app developed in Kotlin using kotlin-wrappers
. I've started to have some React components with complicated logic and I would like to unit test them.
Describe the solution you'd like
I would like wrappers for React Testing Library. It seems to be the recommended approach to test React components.
Describe alternatives you've considered
-
Enzyme
: the library seems to be dead and not compatible with current React versions. -
kotlin-react-dom-test-utils
: in its own documentation it recommends the use of the React Testing Library due to better developer ergonomics.
Additional context
#67 #325 #344
react.dev docs contain little to no information on testing.
Additionally, I would greatly appreciate any suggestion or example on how to proceed with testing using what is available right now.