realadvisor / rifm

React Input Format & Mask, tiny (≈800b) component to transform any input component into formatted or masked input. Supports number, date, phone, currency, credit card, etc
https://realadvisor.github.io/rifm/
MIT License
1.3k stars 44 forks source link

ins't better to use user-events and selectionStart from jsdom on tests? #112

Open sibelius opened 3 years ago

sibelius commented 3 years ago

related to this issue: https://github.com/testing-library/user-event/issues/236

I think it would make tests closer to the wait brower works