sanusart / react-dropdown-select

Customisable dropdown select for react
https://react-dropdown-select.netlify.app/
MIT License
351 stars 82 forks source link

Test with @testing-library/react #227

Closed angiefrancop closed 1 year ago

angiefrancop commented 2 years ago

I have not been able to find a way to test =

<Select additionalProps={{id: id}} data-testid="selectNova" options={options} placeholder="Seleccionar opción" values={[value]} onChange={(value) => onChangesHandleSelect(value)} /> I have not been able to find a way to test the onChanges function.

sanusart commented 2 years ago

https://github.com/sanusart/react-dropdown-select/blob/master/__tests__/index.spec.js#L78

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.