question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I have implemented infinite scroll with your libraries (react-window, react-window-infinite-loader) according to guides and it works fine, but there is a problem with testing. When I tried to test my component I ran into problem that there is nothing inside FixedSizeList. I haven’t found anything about testing in the docs. Is it a bug or I missed something?

Here is codesandbox

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:3
  • Comments:7

github_iconTop GitHub Comments

45reactions
haithemTcommented, Jun 18, 2020

did you try to mock autoSizer jest.mock('react-virtualized-auto-sizer', () => ({ children }: any) => children({ height: 600, width: 600 }));

1reaction
haithemTcommented, Jun 19, 2020

honestly i’m using this library from it first release and till now i didn’t encounter any blocking issues, i tried some other new libraries but none of them was performant like this one.

Read more comments on GitHub >

github_iconTop Results From Across the Web

COVID-19 Testing: What You Need to Know - CDC
Viral tests look for a current infection with SARS-CoV-2, the virus that causes COVID-19, by testing specimens from your nose or mouth. There...
Read more >
Community-Based Testing Sites for COVID-19 - HHS.gov
Find Testing Resources in Your State. COVID-19 tests are available to everyone in the U.S., including the uninsured. Select your state below to...
Read more >
Testing.com: Order Lab Tests and Blood Tests Online
Hundreds of easy-to-read lab testing guides. Confidential, secure and convenient online lab test ordering powered by trusted physician networks. Compassionate ...
Read more >
Get free at-⁠home COVID-⁠19 tests this winter
15,000+ Free Testing Sites. No-cost antigen and PCR COVID-⁠19 tests are available to everyone in the U.S., including the uninsured, at more than...
Read more >
Find COVID-19 Tests
Four ways to get tested: free community events or fixed test sites in NC, your medical provider or free at-home tests or collection...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found