react-grid-layout / react-resizable

A simple React component that is resizable with a handle.

Home Page:https://strml.github.io/react-resizable/examples/1.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to test react-resizable with enzyme

Immanding opened this issue · comments

Thanks for opening an issue!

Please select the type of issue you're reporting. For questions.

  • Bug
  • Feature Request
  • [ √ ] Question

Problem Report

Please describe the problem here.

how to test react-resizable with enzyme?
wrapper.find(Resizable).simulate('resize');
and get
TypeError: ReactWrapper::simulate() event 'resize' does not exist

System Info

Node Version:
Browser:
OS:

Reproduction

If this is a bug report, please provide a reproduction of the issue by going to
https://codesandbox.io/s/9229wz40yo?fontsize=14.
Paste a link here to your working reproduction.