React-sortable-hoc: example for writing test suite

Created on 7 May 2020  路  2Comments  路  Source: clauderic/react-sortable-hoc

Hey, you're really doing an awesome job. I really like this library and recommended to everyone who wants to implement drag and drop list. In this issue, I just want to ask you that "Do we've any example for writing a test suite for SortableComponent?".

Most helpful comment

I am using react-testing-library and haven't found a way to simulate drag and drop tests. So only wrote tests to make sure items get rendered correctly. If anyone can share example of simulating drag and drop component test that would be great.

All 2 comments

@clauderic any updates?

I am using react-testing-library and haven't found a way to simulate drag and drop tests. So only wrote tests to make sure items get rendered correctly. If anyone can share example of simulating drag and drop component test that would be great.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ashishtechuz picture ashishtechuz  路  4Comments

Jessidhia picture Jessidhia  路  4Comments

silvenon picture silvenon  路  4Comments

ncammarata picture ncammarata  路  4Comments

therealedsheenan picture therealedsheenan  路  4Comments