flowbite-react icon indicating copy to clipboard operation
flowbite-react copied to clipboard

Unit test for Carousel

Open rluders opened this issue 2 years ago • 4 comments

Is your feature request related to a problem? Please describe. The component is missing its unit test.

Describe the solution you'd like Implement the unit test to the component.

Describe alternatives you've considered n/a

Additional context n/a

rluders avatar Apr 18 '22 08:04 rluders

Ill take this

tulup-conner avatar May 12 '22 06:05 tulup-conner

I'm going to need help with this issue. For some reason, when I render a Carousel in jest, it sets the activeItem to NaN, and I can't interact with the carousel to run any meaningful tests. It would be nice if someone else could try and pick this up, since I imagine I'm missing something obvious

tulup-conner avatar May 18 '22 03:05 tulup-conner

@tulup-conner do we have a WIP PR for this one?

rluders avatar May 18 '22 06:05 rluders

@rluders I never made one, no. My branch for this was just a spec file with one test, which the gist for that should still be in Discord

tulup-conner avatar May 18 '22 09:05 tulup-conner