picker icon indicating copy to clipboard operation
picker copied to clipboard

How to write component tests for a client using this library?

Open kkalavantavanich opened this issue 3 years ago • 2 comments

I have a mobile application using react-native / expo and this library. Is it possible to do component testing to test that when the picker is scrolled, some function should be triggered? Is it possible to do this using @testing-library/react-native? I am aware that in certain communities, writing such tests is discouraged. However, I would still want to know if this is doable.

kkalavantavanich avatar Feb 28 '21 17:02 kkalavantavanich

@kkalavantavanich any news on this? Have you resolved it?

christophby avatar Oct 26 '21 13:10 christophby

@christophby Nope, I ended up not using this library and made some simpler buttons instead.

kkalavantavanich avatar Oct 26 '21 13:10 kkalavantavanich