T
TanStack•3y ago
exotic-emerald

testing components using virtual scroll

is there a way to show all items in unit tests? or can I do something like show next batch? mimicking user scroll to test that I have the correct items in the list isn't much fun 🙂
1 Reply
exotic-emerald
exotic-emeraldOP•3y ago
I could override rangeExtractor and this way write a test utility, but I wonder if there's some simpler way found a better solution, I can overscan all items

Did you find this page helpful?