RTL unit tests with tanstack virtual
I am facing one strange issue, when implementing the tanstack virtual.
const items = virtualizer.getVirtualItems(); the items is empty and not rendering any items, because of which unit test is failing. On console, I found the DOM structure like this:
I am using version
3.0.0-beta.68I tried to applied
waitFor as well in order to wait if list re render, but no luck. has anyone faced this issue ? Could you please help me understand how to resolve it ? Thanks !